[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] syslogd - tags
From: |
Mats Erik Andersson |
Subject: |
Re: [bug-inetutils] syslogd - tags |
Date: |
Fri, 27 Jan 2012 14:21:55 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
fredag den 27 januari 2012 klockan 13:51 skrev Michal Mazurek detta:
> OpenBSD's syslogd has tags:
>
> The tag is a line beginning with !prog and each block will be associated
> with calls to syslog from that specific program.
>
> For example:
> !sudo
> *.* /var/log/sudo
>
> As I understand, inetutils-syslogd does not have this functionality. I
> need to dump logs from a couple of programs to separate files - is this
> possible?
# /etc/sudoers
logfile /var/log/sudo
!syslog
-------
# /etc/sudoers
syslog local5
# /etc/syslog.conf
local5.* /var/log/sudo