This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
регистрация_событий_в_linux [2019/02/21 13:22] val [Сервис rsyslog] |
регистрация_событий_в_linux [2022/02/27 07:10] val [Настройка на обработку сообщений типа local0] |
||
---|---|---|---|
Line 18: | Line 18: | ||
<code> | <code> | ||
- | systemctl -a | grep syslog | + | $ systemctl -a | grep syslog |
- | less /etc/rsyslog.conf | + | $ less /etc/rsyslog.conf |
- | man rsyslog.conf | + | $ man rsyslog.conf |
</code> | </code> | ||
Line 33: | Line 33: | ||
root@server:~# touch /var/log/cisco.log | root@server:~# touch /var/log/cisco.log | ||
- | root@server:~# chown root:adm /var/log/cisco.log | + | debian# chown root:adm /var/log/cisco.log |
+ | ubuntu# chown syslog:adm /var/log/cisco.log | ||
root@server:~# service rsyslog restart | root@server:~# service rsyslog restart |