>
> There is a thread going on in the logwatch ML, pertaining to
> a bug found in the freshclam logging. It would appear to
> occur when syslog is used rather than freshclam's own log in Fedora.
>
> Looking at
> clamav-devel/freshclam/manager.c
> Line 67
> logg("ClamAV update process started at %s", ctime(&currtime));
>
> other uses of the logg function in manager.c *do* have a linefeed (\n)
>
...
>
> Are you implying that there *should* be a linefeed? A post
> earlier this morning seems to say that there *shouldnt* be
> any linefeeds. Im confused...
I think what was meant was that its ok to have the linefeed for all uses in
logg, except when logging via syslog. So, just strip the newline before
sending to syslog.
MrC
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html