Re: FreeBSD syslog a souborový log dle IP
Zbyněk Burget
zburget at burgnet.cz
Mon May 30 08:09:31 CEST 2016
Dne 30. 5. 2016 v 5:01 Milan Cizek napsal(a):
> Ahoj, dokáže syslog na freebsd vytvářet oddělené souborové logy dle zdrojové
> IP?
Jiste, viz man syslog.conf, zajimava je tato pasaz:
A hostname specification of the form `#+hostname' or `+hostname' means
the following blocks will be applied to messages received from the speci-
fied hostname. Alternatively, the 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. As for program specifications, multiple
comma-separated values may be specified for hostname specifications.
A program or hostname specification may be reset by giving the program or
hostname as `*'.
>
> Něco jako umí syslog-ng na linuxu takto nějak?
Pripadne muzes prece klidne pouizt primo ten syslog-ng, pokud by ti
vyhovoval vic, nez ten defaultni. Je v portech, viz sysutils/syslog-ng
Zbynek
More information about the Users-l
mailing list