-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated imfile configuration for supervisord logs (#6368)
Updated imfile configuration for supervisord logs for stretch and buster.
- Loading branch information
Showing
2 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |