On Fri, Jul 10, 2015 at 08:01:52AM BST, Pete wrote:
> >> But i can't get any logging from it in syslog. Is that by design, or
> >> am i missing something obvious?
> 
> > Yes, you are :^)
> 
> > man 5 syslog.conf
> 
> > Hint: facility, level and prog.
> 
> Well, probably not something _that_ obvious. ;)
> Even with below config nothing turns up.
> But when looking at the code, even mail.info should display it.

How so? Nowhere does it state that it uses 'mail' facility.

> filter_clamav.c:
> [...]
> log_info("info: filter-clamav: result %s", l);
> 
> I need a bigger cluestick.

The example above only mentions the 'info' *level*. What you're after is
the 'prog'.

> /etc/syslog.conf:
> *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
> kern.debug;syslog,user.info                             /var/log/messages
> auth.info                                               /var/log/authlog
> authpriv.debug                                          /var/log/secure
> cron.info                                               /var/cron/log
> daemon.info                                             /var/log/daemon
> ftp.info                                                /var/log/xferlog
> lpr.debug                                               /var/log/lpd-errs
> mail.info                                               /var/log/maillog
> mail.*                                                  /var/log/maillog.debug
> #uucp.info                                              /var/log/uucp
> *.*                                                     /var/log/messages.all

Obviously, it also depends on how your 'filter-clamav' is
configured - if logging is enabled at all then, based on the above
'/etc/syslog.conf', your logs should end up in '/var/log/messages.all'.

Regards,

Raf

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to