sonic-buildimage/dockers/docker-base-stretch/etc/rsyslog.d/supervisor.conf
abdosi a3d093a82a Updated imfile configuration for supervisord logs (#6368)
Updated imfile configuration for supervisord logs for stretch and buster.
2021-01-06 18:48:24 -08:00

10 lines
303 B
Plaintext

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")