From ba2b728e8800a559498e2e9e90100416b8ae8a3b Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 1 Oct 2018 22:25:18 -0600 Subject: [PATCH] Added section about detail level in service config file --- etc/logwatch/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/etc/logwatch/README.md b/etc/logwatch/README.md index 4f32584..1e5e3d9 100644 --- a/etc/logwatch/README.md +++ b/etc/logwatch/README.md @@ -15,6 +15,7 @@ ## Contents - [Service definition file (/etc/logwatch/conf/services/cfddns.conf)](#service-definition-file-etclogwatchconfservicescfddnsconf) - [LogFile Group file definition](#logfile-group-file-definition) - [Report title](#report-title) + - [Detail level](#detail-level) - [Service script (/etc/logwatch/scripts/services/cfddns)](#service-script-etclogwatchscriptsservicescfddns) - [Detail levels](#detail-levels) - [Timestamp processing script (/etc/logwatch/scripts/shared/sqfullstampanywhere)](#timestamp-processing-script-etclogwatchscriptssharedsqfullstampanywhere) @@ -112,6 +113,28 @@ ### Report title ... Title = "CloudFlare DDNS update" ``` +### Detail level + +If you want to set the *detail* level of this service differently from your +other services (which will use the *--detail* switch value or the value in your +*logwatch.conf*), then you can define that level here. By default, it appears +like this in the service configuration file: + +```Ini +... +# Override the detail level for this service +# Remember the levels are: 0, 1-4, 5, 6+ +# Detail = 0 +``` + +Simply change it to the value you want enforced. For example, here I'm setting +it to output level 5 regardless of whatever settings everything else is using. + +```Ini +# Override the detail level for this service +# Remember the levels are: 0, 1-4, 5, 6+ +Detail = 5 +``` ## Service script (/etc/logwatch/scripts/services/cfddns)