-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib: fixed up sample configuration files a bit
Fixed up some of the biggest problems in the sample configuration files under contrib, like program_override() with a colon, which is not needed, etc. Also, removed deprecated log_prefix() options.
- Loading branch information
Showing
6 changed files
with
9 additions
and
9 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
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
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
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 |
---|---|---|
|
@@ -10,10 +10,10 @@ | |
# Updated by Frank Crawford (<[email protected]>) - 10 Aug 2002 | ||
# - for Red Hat 7.3 | ||
# - totally do away with klogd | ||
# - add message "kernel:" as is done with klogd. | ||
# - add message "kernel" as is done with klogd. | ||
# | ||
# Updated by Frank Crawford (<[email protected]>) - 22 Aug 2002 | ||
# - use the log_prefix option as per Balazs Scheidler's email | ||
# - use the program_override option as per Balazs Scheidler's email | ||
# | ||
|
||
options { sync (0); | ||
|
@@ -36,7 +36,7 @@ options { sync (0); | |
# libc and syslog clients generally automatically detect the socket type, | ||
# so you are free to decide which of unix-stream or unix-dgram you want to use. | ||
# | ||
source s_sys { file ("/proc/kmsg" log_prefix("kernel: ")); unix-stream ("/dev/log"); internal(); }; | ||
source s_sys { file ("/proc/kmsg" program_override("kernel")); unix-stream ("/dev/log"); internal(); }; | ||
|
||
destination d_cons { file("/dev/console"); }; | ||
destination d_mesg { file("/var/log/messages"); }; | ||
|
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
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