|
|
ru.unix- RU.UNIX ---------------------------------------------------------------------- From : Denis Volkov 2:5025/37.99 29 Aug 2001 12:51:11 To : Eugene Kornyakov Subject : Syslog + сообщения от определленой проги (хоста) -------------------------------------------------------------------------------- 29 Aug 01 07:36, you wrote to All: EK> Посоветуте плз как можно сообщения любого уровня от определенной проги EK> или хоста пихать в отдельный файл.... EK> man syslog.conf прочитан там про это нема... === Begin Windows Clipboard === SYSLOG.CONF(5) FreeBSD File Formats Manual SYSLOG.CONF(5) NAME syslog.conf - syslogd(8) configuration file DESCRIPTION [...] A program specification is a line beginning with `#!prog' or `!prog' (the former is for compatibility with the previous syslogd, if one is sharing syslog.conf files, for example) and the following blocks will be associ- ated with calls to syslog(3) from that specific program. A program spec- ification for `foo' will also match any message logged by the kernel with the prefix `foo: '. A hostname specification of the form `#+hostname' or `+hostname' and the following blocks will be applied to messages received from the specified hostname. Alternatively, a hostname specification `#-hostname' or `-hostname' causes the following blocks to be applied to messages from any host but the one specified. If the hostname is given as `@', the local hostname will be used. A program or hostname specifi- cation may be reset by giving the program or hostname as `*'. === End Windows Clipboard === Denis --- GoldED/W32 3.0.1-asa7 * Origin: То, что гусница зовёт смертью, мы называем бабочкой (2:5025/37.99) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix/34633b8ce8d0.html, оценка из 5, голосов 10
|