Compare commits
No commits in common. "2e978050b6838827ada03f6652fc3aef40e888ad" and "a43a0bf80e80f3861653fe9f675f07c5a7ef4ca5" have entirely different histories.
2e978050b6
...
a43a0bf80e
@ -15,7 +15,6 @@ ## Contents <!-- omit in toc -->
|
|||||||
- [Service definition file (/etc/logwatch/conf/services/cfddns.conf)](#service-definition-file-etclogwatchconfservicescfddnsconf)
|
- [Service definition file (/etc/logwatch/conf/services/cfddns.conf)](#service-definition-file-etclogwatchconfservicescfddnsconf)
|
||||||
- [LogFile Group file definition](#logfile-group-file-definition)
|
- [LogFile Group file definition](#logfile-group-file-definition)
|
||||||
- [Report title](#report-title)
|
- [Report title](#report-title)
|
||||||
- [Detail level](#detail-level)
|
|
||||||
- [Service script (/etc/logwatch/scripts/services/cfddns)](#service-script-etclogwatchscriptsservicescfddns)
|
- [Service script (/etc/logwatch/scripts/services/cfddns)](#service-script-etclogwatchscriptsservicescfddns)
|
||||||
- [Detail levels](#detail-levels)
|
- [Detail levels](#detail-levels)
|
||||||
- [Timestamp processing script (/etc/logwatch/scripts/shared/sqfullstampanywhere)](#timestamp-processing-script-etclogwatchscriptssharedsqfullstampanywhere)
|
- [Timestamp processing script (/etc/logwatch/scripts/shared/sqfullstampanywhere)](#timestamp-processing-script-etclogwatchscriptssharedsqfullstampanywhere)
|
||||||
@ -113,28 +112,6 @@ ### Report title
|
|||||||
...
|
...
|
||||||
Title = "CloudFlare DDNS update"
|
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)
|
## Service script (/etc/logwatch/scripts/services/cfddns)
|
||||||
|
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
# Location of your script's log file, -l parameter
|
# Location of your script's log file, -l parameter
|
||||||
LogFile = /path/to/your/cfddns.log
|
LogFile = /path/to/your/cfddns.log
|
||||||
|
|
||||||
# Format of logrotate archives for your script. Example assumes compression and
|
# Format of logrotate archives for your script. Example assumes compression and
|
||||||
# extension preservation
|
# extension preservation
|
||||||
Archive = /path/to/your/logfile.ext.?.gz
|
Archive = /path/to/your/logfile.ext.?.gz
|
||||||
|
|
||||||
# Apply the correct date/time filtering to match the format of the script's log
|
# Apply the correct date/time filtering to match the format of the script's log
|
||||||
# We are using a custom pl script in /etc/logwatch/scripts/shared/
|
# We are using a custom pl script in /etc/logwatch/scripts/shared/
|
||||||
# You don't need to change this unless you have altered the 'stamp' variable in
|
# You don't need to change this unless you have altered the 'stamp' variable in
|
||||||
|
@ -1,9 +1,2 @@
|
|||||||
# Name of the logfile group without any extension
|
|
||||||
LogFile = cfddns
|
LogFile = cfddns
|
||||||
|
|
||||||
# Heading displayed on Logwatch's report for this service
|
|
||||||
Title = "CloudFlare DDNS update"
|
Title = "CloudFlare DDNS update"
|
||||||
|
|
||||||
# Override the detail level for this service
|
|
||||||
# Remember the levels are: 0, 1-4, 5, 6+
|
|
||||||
# Detail = 0
|
|
Loading…
Reference in New Issue
Block a user