On Mon, 30 May 2005 22:55:10 +0100 Matt Fretwell <[EMAIL PROTECTED]> wrote: > > Thank you for your answer. I have made some test of redirecting the > > Syslog channel you specified, but the problem still exists. The > > "LibClamAV Warning:..." messages are still there at the console. > You did restart syslogd after the changes?
Yes. I restarted syslogd, klogd several times. I have looked into where "LibClamAV Warning: " came from. It's in libclamav/others.c: void cli_warnmsg(const char *str, ...) { va_list args; va_start(args, str); fprintf(stderr, "LibClamAV Warning: "); vfprintf(stderr, str, args); va_end(args); } This is print to stderr and return. It did not even try to log to syslog. If I did not made a mistake stderr can not possible be redirected to syslog logger. Am I right? Did I miss something? 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(). -- 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
pgpJ2XXwxzRwe.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html