I hooked up a monitor to my server recently to troubleshoot some unrelated network 
problems and discovered that clamd has been spewing messages on my tty1 console.  This 
became extremely annoying very quickly because it would dump a bunch of junk over top 
my console every few seconds whenever it got an e-mail (I use it with clamav-milter).  
I would very much like to get ClamAV to quiet down and keep its logging in the syslog 
and ClamAV log where I want it.

I'm running the clamav-0.65-4 and clamav-milter-0.65-4 RPMs on a Red Hat 8.0 box with 
sendmail 8.12.8.  I've made very few changes to clamav.conf.  Attempting to quiet 
clamd, I commented out the LogFile, LogSyslog and Debug directives in clamav.conf 
(eliciting some complaints from clamd) and for good measure also added 
"--debug-level=0 --config-file=/etc/clamav.conf" to the startup parameters of 
clamav-milter.  I think it's clamd generating the messages, but am not sure so that's 
why I tinkered with clamav-milter as well.  While these changes did have other 
effects, I still got messages like this on tty1:

clamfi_envfrom: <[EMAIL PROTECTED]>
>n_children = 1
clamfi_abort
pthread_cond_broadcast
<n_children = 0
clamfi_close

I figure I could stick a "> /dev/null" onto the end of my clamd invocation, but it 
seems like there ought to be a more graceful way to quiet it.  Ideas?  Thanks for your 
help!


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to