Skip to content

Commit c7f0541

Browse files
committed
darwinosl: added deprecated option parts
Signed-off-by: Hofi <hofione@gmail.com>
1 parent 3ed9338 commit c7f0541

File tree

3 files changed

+80
-1
lines changed

3 files changed

+80
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**NOTE:** The deprecated `{{ include.old }}()` option is an alias for the `{{ include.new }}()` option, retained for compatibility with earlier {{ site.product.short_name }} versions, but it may be removed at any time without further notice!
2+
{: .notice--info}

_includes/doc/admin-guide/options/log-fetch-delays.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
**NOTE:** Increasing the value of this parameter (which lowers delay time) can increase log feed performance, but at could increase system load.
99
{: .notice--info}
1010

11+
{% include doc/admin-guide/options/deprecated-options.md old='fetch-delay' new='log-fetch-delay' %}
12+
1113
## log-fetch-retry-delay()
1214

1315
|Type:| integer|
1416
|Default:| `1`|
1517

1618
*Description:* Controls how many seconds {{ site.product.short_name }} spends idle before checking for new logs, in case no new logs were read the last time.
19+
20+
{% include doc/admin-guide/options/deprecated-options.md old='fetch-retry-delay' new='log-fetch-retry-delay' %}

_plugins/generate_tooltips.rb

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,11 +490,84 @@ def JekyllTooltipGen_debug_page_info(page, details = true)
490490

491491
def JekyllTooltipGen_debug_filter_pages?(page)
492492
debug_pages = {
493+
# None collection items
494+
#
493495
# "doc/README.md" => true,
496+
# "doc/site-internal/404.md" => true,
497+
# "doc/site-internal/lunr_search_help.md" => true,
498+
# "_includes/doc/admin-guide/host-from-macro.md" => true,
499+
#
500+
# Collection items
501+
# DOC
502+
# "_doc-guide/README.md" => true,
503+
# "_doc-guide/01_Structure/README.md" => true,
504+
# "_doc-guide/02_Tools/README.md" => true,
505+
# "_doc-guide/02_Tools/01_Self_made_tools/README.md" => true,
506+
# "_doc-guide/02_Tools/01_Self_made_tools/01_Tests/README.md" => true,
507+
# "_doc-guide/02_Tools/02_Jekyll_extensions.md" => true,
508+
# DEV
509+
# "_dev-guide/README.md" => true,
510+
# "_dev-guide/chapter_0/section_3.md" => true,
511+
# "_dev-guide/chapter_2/section_2/README.md" => true,
512+
# "_dev-guide/chapter_2/section_2/compile-options.md" => true,
513+
# "_dev-guide/chapter_4/README.md" => true,
514+
# "_dev-guide/chapter_4/section_2/README.md" => true,
515+
# "_dev-guide/chapter_4/section_2/macos-testing-status/README.md" => true,
516+
# "_dev-guide/chapter_4/section_2/macos-testing-status/system-source/01_collecting-native-logs.md" => true,
517+
# "_dev-guide/chapter_4/section_2/macos-testing-status/system-source/02_collecting-local-logs.md" => true,
518+
# ADMIN
519+
"_admin-guide/README.md" => true,
520+
# "_admin-guide/010_Introduction_to_syslog-ng/004_Supported_platforms.md" => true,
521+
# "_admin-guide/020_The_concepts_of_syslog-ng/003_Global_objects.md" => true,
522+
# "_admin-guide/020_The_concepts_of_syslog-ng/004_Timezones_and_daylight_saving.md" => true,
523+
# "_admin-guide/020_The_concepts_of_syslog-ng/008_Message_representation.md" => true,
524+
# "_admin-guide/040_Quick-start_guide/001_Configuring_syslog-ng_on_server_hosts.md" => true,
525+
# "_admin-guide/050_The_configuration_file/005_Global_and_environmental_variables.md" => true,
526+
# "_admin-guide/050_The_configuration_file/006_Modules_in_syslog-ng/001_Listing_configuration_options.md" => true,
527+
# "_admin-guide/060_Sources/020_File/README.md" => true,
528+
# "_admin-guide/060_Sources/020_File/000_File_source_options.md" => true,
529+
# "_admin-guide/060_Sources/020_File/001_Notes_on_reading_kernel_messages.md" => true,
530+
# "_admin-guide/060_Sources/021_Wildcard-file/README.md" => true,
531+
# "_admin-guide/060_Sources/021_Wildcard-file/000_Wildcard-file_options.md" => true,
532+
# "_admin-guide/060_Sources/021_Wildcard-file/001_File_following.md" => true,
533+
"_admin-guide/060_Sources/085_macOS/000_darwin_oslog_options.md" => true,
534+
# "_admin-guide/060_Sources/130_Program/README.md" => true,
535+
# "_admin-guide/060_Sources/130_Program/000_Program_source_options.md" => true,
536+
# "_admin-guide/060_Sources/135_Prometheus/README.md" => true,
537+
# "_admin-guide/060_Sources/135_Prometheus/000_prometheus-stats_source_options.md" => true,
538+
# "_admin-guide/060_Sources/140_Python/001_Python_logmessage_API.md" => true,
539+
# "_admin-guide/060_Sources/150_snmptrap/000_snmptrap_options.md" => true,
540+
# "_admin-guide/070_Destinations/020_Discord/README.md" => true,
541+
# "_admin-guide/070_Destinations/020_Discord/000_Discord_options" => true,
542+
# "_admin-guide/070_Destinations/180_Program/README.md" => true,
543+
# "_admin-guide/070_Destinations/180_Program/000_Program_destination_options.md" => true,
544+
# "_admin-guide/070_Destinations/300_syslog/000_syslog_destination_options.md" => true,
545+
# "_admin-guide/080_Log/010_Flow_control/README.md" => true,
546+
# "_admin-guide/080_Log/020_Buffering/README.md" => true,
547+
# "_admin-guide/080_Log/030_Filters/002_Comparing_macro_values.md" => true,
548+
"_admin-guide/090_Global_options/000_Global_options.md" => true,
549+
# "_admin-guide/110_Template_and_rewrite/000_Customize_message_format/004_Macros_of_syslog-ng.md" => true,
550+
# "_admin-guide/120_Parser/README.md" => true,
551+
# "_admin-guide/120_Parser/022_db_parser/001_Using_pattern_databases/README.md" => true,
552+
# "_admin-guide/120_Parser/003_JSON_parser/000_JSON_parser_options.md" => true,
553+
# "_admin-guide/150_Statistics_of_syslog-ng/README.md" => true,
554+
555+
# "_admin-guide/190_The_syslog-ng_manual_pages/001_dqtool_manual.md" => true,
556+
# "_admin-guide/190_The_syslog-ng_manual_pages/002_loggen_manual.md" => true,
557+
# "_admin-guide/190_The_syslog-ng_manual_pages/003_pdbtool_manual" => true,
558+
# "_admin-guide/190_The_syslog-ng_manual_pages/004_secure_logging_manual.md" => true,
559+
# "_admin-guide/190_The_syslog-ng_manual_pages/005_slogencrypt_manual.md" => true,
560+
# "_admin-guide/190_The_syslog-ng_manual_pages/006_slogkey_manual.md" => true,
561+
# "_admin-guide/190_The_syslog-ng_manual_pages/007_slogverify_manual.md" => true,
562+
# "_admin-guide/190_The_syslog-ng_manual_pages/008_syslog-ng_control_tool_manual.md" => true,
563+
# "_admin-guide/190_The_syslog-ng_manual_pages/009_syslog_debun_tool_manual.md" => true,
564+
# "_admin-guide/190_The_syslog-ng_manual_pages/010_syslog-ng_manual.md" => true,
565+
# "_admin-guide/190_The_syslog-ng_manual_pages/011_syslog-ng_conf.md" => true,
566+
# "_admin-guide/190_The_syslog-ng_manual_pages/012_persist-tool_manual.md" => true,
494567
}
495568
debug_ok = true
496569
# Comment this line out if not debugging!!!
497-
# debug_ok = (debug_pages[page.relative_path] != nil && debug_pages[page.relative_path])
570+
debug_ok = (debug_pages[page.relative_path] != nil && debug_pages[page.relative_path])
498571
return debug_ok
499572
end
500573

0 commit comments

Comments
 (0)