Skip to content

Commit

Permalink
Enable the notify mode of rsyslogd imfile module used for supervisord (
Browse files Browse the repository at this point in the history
…#6298)

Enable the notify mode of rsyslogd imfile module used for supervisord logs in docker container
  • Loading branch information
abdosi committed Jan 1, 2021
1 parent a165e63 commit ef0088c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dockers/docker-base/etc/rsyslog.d/supervisor.conf
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit ef0088c

Please sign in to comment.