Skip to content

Commit

Permalink
Updated imfile configuration for supervisord logs (#6368)
Browse files Browse the repository at this point in the history
Updated imfile configuration for supervisord logs for stretch and buster.
  • Loading branch information
abdosi authored Jan 7, 2021
1 parent f99dbff commit afc87b8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions dockers/docker-base-buster/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" mode="inotify") # Ensure "inotify" mode is used
$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")
18 changes: 9 additions & 9 deletions dockers/docker-base-stretch/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" mode="inotify") # Ensure "inotify" mode is used
$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 afc87b8

Please sign in to comment.