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:
abdosi 2020-12-31 17:01:57 -08:00 committed by GitHub
parent a165e632e3
commit ef0088c29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")