Matt Gourley wrote:

Hi all,

I've been trying to get ClamAV to log via multilog so that I can generate reports via mrtg.

$ pkg_info | grep clamav clamav-0.75 Free Virus Scanner

$ cat /etc/supervise/clamd/run
#!/bin/sh
exec 2>&1
exec /usr/local/sbin/clamd

$ cat /etc/supervise/clamd/log/run

#!/bin/sh
exec setuidgid _clamav multilog t /var/log/clamd

and in /etc/clamav.conf:
...
LogFile /dev/stderr
FixStaleSocket
Foreground
...

---
Lars Hansson


------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to