Tomasz Papszun wrote:

On Wed, 21 Jan 2004 at 12:51:44 +1100, Darryl Luff wrote:


Has anyone noticed that enabling the LogSyslog option causes everything to be logged twice? Or is it just something odd on my machine (sample below)?

Jan 20 00:11:02 gateway clamd[19226]: Reading databases from /var/lib/clamav
Jan 20 00:11:02 gateway clamd[19226]: Reading databases from /var/lib/clamav


[...]

Maybe you have set also LogFile to the same file?...

Though I can be wrong - I haven't tried them both together.



I have an (uncomfirmed) theory. In the config file, I have:
LogFile /var/log/clamd.exim
...
LogSyslog


Since I added the 'LogSyslog' entry two days ago, nothing further has been logged to /var/log/clamd.exim, but everything is logged to syslog twice. I suspect the code is doing something like:


if (LogFile) {
   if (LogSyslog)
      log to syslog
   else
      log to file.
}

if (LogSyslog) {
   log to syslog
}

But this is a guess. I'll have to have a check.




------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to