Updated imfile configuration for supervisord logs (#6368)

Updated imfile configuration for supervisord logs for stretch and buster.
This commit is contained in:
abdosi 2021-01-06 18:47:36 -08:00 committed by GitHub
parent f99dbff722
commit afc87b8ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View File

@ -1,9 +1,9 @@
$ModLoad imfile module(load="imfile" mode="inotify") # Ensure "inotify" mode is used
$WorkDirectory /var/log/supervisor
$InputFileName /var/log/supervisor/supervisord.log # Start Monitoring the file
$InputFileTag supervisord input(type="imfile"
$InputFileStateFile state-supervisor File="/var/log/supervisor/supervisord.log"
$InputFileSeverity info Tag="supervisord"
$InputFileFacility local0 Severity="info"
$InputFilePersistStateInterval 1 Facility="local0"
$InputRunFileMonitor PersistStateInterval="1")

View File

@ -1,9 +1,9 @@
$ModLoad imfile module(load="imfile" mode="inotify") # Ensure "inotify" mode is used
$WorkDirectory /var/log/supervisor
$InputFileName /var/log/supervisor/supervisord.log # Start Monitoring the file
$InputFileTag supervisord input(type="imfile"
$InputFileStateFile state-supervisor File="/var/log/supervisor/supervisord.log"
$InputFileSeverity info Tag="supervisord"
$InputFileFacility local0 Severity="info"
$InputFilePersistStateInterval 1 Facility="local0"
$InputRunFileMonitor PersistStateInterval="1")