[rsyslog]: Explicitly set the notify mode for rsyslog imfile module (#6351)
Enable the notify mode of rsyslogd imfile module used for supervisord logs in docker container. Setup the mode="inotify" when loading imfile, made sure we are are getting supervisord logs in host immediately. Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
This commit is contained in:
parent
d769ef2abd
commit
afd60bdc48
@ -1,4 +1,4 @@
|
||||
module(load="imfile") #By default notify mode
|
||||
module(load="imfile" mode="inotify") # Ensure "inotify" mode is used
|
||||
$WorkDirectory /var/log/supervisor
|
||||
# Start Monitoring the file
|
||||
input(type="imfile"
|
||||
|
Reference in New Issue
Block a user