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 [2025/10/01 16:27] (current) manu |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Syslog ===== | + | ====== Syslog ====== |
| + | |||
| + | **Parameters:** | ||
| + | * 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" | ||
| + | |||
| + | * Suppresses the "Message forwarded from <log_host_name>: " string added to the beginning of the syslog message that is forwarded to a remote log host. | ||
| + | |||
| + | chssys -s syslogd -a "-r -n" | ||
| 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 143: | ||
| 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 297: | ||
| destination (d_root_audit); | destination (d_root_audit); | ||
| }; | }; | ||
| + | </code> | ||