This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
регистрация_событий_в_системе [2011/02/21 16:51] val removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Регистрация событий в системе ====== | ||
- | |||
- | ===== Варианты реализации протоколирования процессов в службах на примере clamd ===== | ||
- | |||
- | ==== Средствами самого приложения ==== | ||
- | <code> | ||
- | [hostX:~] # cat /usr/local/etc/clamd.conf | ||
- | ... | ||
- | LogFile /var/log/clamav/clamd.log | ||
- | ... | ||
- | LogSyslog no | ||
- | ... | ||
- | </code><code> | ||
- | [hostX:~] # /usr/local/etc/rc.d/clamav-clamd reload | ||
- | </code> | ||
- | |||
- | ==== Средствами SYSLOG ==== | ||
- | |||
- | <code> | ||
- | [hostX:~] # cat /usr/local/etc/clamd.conf | ||
- | </code><code> | ||
- | ... | ||
- | # LogFile /var/log/clamav/clamd.log | ||
- | ... | ||
- | LogSyslog yes | ||
- | ... | ||
- | LogFacility LOG_LOCAL6 | ||
- | ... | ||
- | </code> | ||
- | |||
- | [[Сервис SYSLOG]] | ||