|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Alexander Shevchenko 2:5020/1817.26 29 Oct 2004 22:45:24 To : Ilya Kulagin Subject : syslogd -------------------------------------------------------------------------------- 29 октября 2004 10:00, Ilya Kulagin => Alexander Shevchenko: AS>> А как логи, сыпящиеся с другой машины по сети класть в AS>> отдельный файл? IK> man syslogd.conf учит нас, что IK> A hostname specification of the form `#+hostname' or `+hostname' IK> means IK> the following blocks will be applied to messages received from IK> the speci- IK> fied hostname. Alternatively, the hostname specification IK> `#-hostname' or IK> `-hostname' causes the following blocks to be applied to messages IK> from IK> any host but the one specified. If the hostname is given as `@', IK> the IK> local hostname will be used. As for program specifications, IK> multiple IK> comma-seprarated values may be specified for hostname IK> specifications. IK> Это примерно 8-й или 9-й абзац сверху. А пример можно? Hе работает: +10.0.0.1 *.* /var/log/server2.log :-( Alexander Shevchenko ... Default tagline #2 --- * Origin: Default origin (2:5020/1817.26) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/462041829019.html, оценка из 5, голосов 10
|