Enable the notify mode of rsyslogd imfile module used for supervisord (#6298)
Enable the notify mode of rsyslogd imfile module used for supervisord logs in docker container
This commit is contained in:
parent
a165e632e3
commit
ef0088c29f
@ -1,9 +1,9 @@
|
||||
$ModLoad imfile
|
||||
|
||||
$InputFileName /var/log/supervisor/supervisord.log
|
||||
$InputFileTag supervisord
|
||||
$InputFileStateFile state-supervisor
|
||||
$InputFileSeverity info
|
||||
$InputFileFacility local0
|
||||
$InputFilePersistStateInterval 1
|
||||
$InputRunFileMonitor
|
||||
module(load="imfile") #By default notify mode
|
||||
$WorkDirectory /var/log/supervisor
|
||||
# Start Monitoring the file
|
||||
input(type="imfile"
|
||||
File="/var/log/supervisor/supervisord.log"
|
||||
Tag="supervisord"
|
||||
Severity="info"
|
||||
Facility="local0"
|
||||
PersistStateInterval="1")
|
||||
|
Loading…
Reference in New Issue
Block a user