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

Reply via email to