On Mon, 30 May 2005 21:59:56 -0400 Stephen Gran <[EMAIL PROTECTED]> wrote: > On Tue, May 31, 2005 at 09:48:12AM +0800, imacat said: > > Is there any way to tell cli_warning() that LogSyslog is in use in > > clamav-milter/clamav-milter.c? It's strange that only clamav-milter and > > sigtool is using cli_errmsg() and cli_warnmsg(). > > The clamav-milter code is scattered liberally with cli_*msg lines, which > do all of this. I am slowly working through a patch set for output > unification that basically dumps all of the work on the logg() function > in shared/output.c It will be up to logg() to decide whether a message > should go to syslog, the console, a seperate logfile, or some > combination, depending on variables set in the calling program. > > As you can imagine, this is not a small patch set, so it is taking some > time. Then of course there is the uncertainty of whether or not the > Team members will want the patch, but it seems like something that needs > to be done. I administer all of my systems that run the milter > headless, and I never see the messages you are mentioning, but this is > reminding me that I am probably missing important information because > it's not going to logs that then get parsed and mailed to me.
Thank you for your positive answer. ^_*' I had looked into the code and see the complexity of this issue. I would be very happy to offer any help, idea if you do need it. This problem did frustrate me. My console is filled-up with clamav-milter warnings now. By the way, most, if not all, of the warnings I received are: LibClamAV Warning: Not accepting inputs at the moment LibClamAV Warning: Accepting inputs again I took a glance at this piece of code in clamav-milter/clamav-milter.c, in clamfi_connect(). I'm not quite sure, but it looks like something like server overload that shall be automatically recovered later, which should to be safe to be ignored. It's really frustrating that my console is filled-up with the safe-to-be-ignored messages and I cannot turn it off. -- Best regards, imacat ^_*' <[EMAIL PROTECTED]> PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt <<Woman's Voice>> News: http://www.wov.idv.tw/ Tavern IMACAT's: http://www.imacat.idv.tw/ TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug
pgpPrkbcB75Ew.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html