Updated imfile configuration for supervisord logs (#6368)
Updated imfile configuration for supervisord logs for stretch and buster.
This commit is contained in:
parent
f99dbff722
commit
afc87b8ccd
@ -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")
|
||||
|
@ -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")
|
||||
|
Reference in New Issue
Block a user