This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
aix:syslog_conf [2021/01/01 21:21] 127.0.0.1 external edit |
aix:syslog_conf [2023/06/08 17:34] (current) manu |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Syslog ===== | + | ====== Syslog ====== |
+ | |||
+ | If the server does not act as a central syslog server, suppress the logging of messages | ||
+ | originating from remote servers: | ||
+ | chssys -s syslogd -a "-r" | ||
You can have more system logs than the errlog (errpt), you can activate syslog daemon. Logs files are text fomat. | You can have more system logs than the errlog (errpt), you can activate syslog daemon. Logs files are text fomat. | ||
Line 134: | Line 138: | ||
en_method = "logger -p err AIXErrptLog: $(errpt -a -l $1 | grep -v '\\--------')" | en_method = "logger -p err AIXErrptLog: $(errpt -a -l $1 | grep -v '\\--------')" | ||
| | ||
+ | ===== Syslog-ng ===== | ||
| | ||
- | + | <cli prompt='#'> | |
- | + | # cat /etc/syslog-ng/syslog-ng.conf | |
- | + | </cli> | |
- | + | <code> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | | + | |
- | # cat /etc/syslog-ng/syslog-ng.conf | + | |
@version:3.2 | @version:3.2 | ||
@include "scl.conf" | @include "scl.conf" | ||
Line 295: | Line 292: | ||
destination (d_root_audit); | destination (d_root_audit); | ||
}; | }; | ||
+ | </code> |