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
|
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")
|
||||||
|
@ -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")
|
||||||
|
Reference in New Issue
Block a user