David Raynor wrote:
>
> On Thu, Dec 6, 2012 at 10:04 AM, Bowie Bailey <bowie_bai...@buc.com>
> wrote:
>
>
> Bowie is right. The logfile contents and the output on stdout are treated
> differently. Check your clamd.conf for the LogFile option (and make sure
> it
> is not commented out).
>
> Dave R.
>
> --
> ---
> Dave Raynor
> Sourcefire Vulnerability Research Team
> dray...@sourcefire.com
>
>
Ok I've done that. LogTimes are shown (in a weird datetime format) but the
file that I've just scanned is not listed at all:
> clamdscan /tmp/clamscan-franck-test/clamscan-franck-testclamscan-man.txt
/tmp/clamscan-franck-test/clamscan-franck-testclamscan-man.txt: OK
----------- SCAN SUMMARY -----------
Infected files: 0
Time: 0.003 sec (0 m 0 s)
> sudo tail -500f /tmp/clamd.log
Thu Dec 6 15:32:39 2012 -> +++ Started at Thu Dec 6 15:32:39 2012
Thu Dec 6 15:32:39 2012 -> clamd daemon 0.93 (OS: linux-gnu, ARCH: x86_64,
CPU: x86_64)
Thu Dec 6 15:32:39 2012 -> Running as user vscan (UID 65, GID 108)
Thu Dec 6 15:32:39 2012 -> Log file size limited to 2097152 bytes.
Thu Dec 6 15:32:39 2012 -> Reading databases from /var/lib/clamav
Thu Dec 6 15:32:39 2012 -> Not loading PUA signatures.
Thu Dec 6 15:32:41 2012 -> Loaded 315745 signatures.
Thu Dec 6 15:32:41 2012 -> TCP: Bound to address 127.0.0.1 on port 3310
Thu Dec 6 15:32:41 2012 -> TCP: Setting connection queue length to 15
Thu Dec 6 15:32:41 2012 -> LOCAL: Unix socket file
/var/lib/clamav/clamd-socket
Thu Dec 6 15:32:41 2012 -> LOCAL: Setting connection queue length to 15
Thu Dec 6 15:32:41 2012 -> Listening daemon: PID: 17811
Thu Dec 6 15:32:41 2012 -> Limits: Global size limit set to 104857600
bytes.
Thu Dec 6 15:32:41 2012 -> Limits: File size limit set to 26214400 bytes.
Thu Dec 6 15:32:41 2012 -> Limits: Recursion level limit set to 16.
Thu Dec 6 15:32:41 2012 -> Limits: Files limit set to 10000.
Thu Dec 6 15:32:41 2012 -> Archive support enabled.
Thu Dec 6 15:32:41 2012 -> Algorithmic detection enabled.
Thu Dec 6 15:32:41 2012 -> Portable Executable support enabled.
Thu Dec 6 15:32:41 2012 -> ELF support enabled.
Thu Dec 6 15:32:41 2012 -> Mail files support enabled.
Thu Dec 6 15:32:41 2012 -> OLE2 support enabled.
Thu Dec 6 15:32:41 2012 -> PDF support disabled.
Thu Dec 6 15:32:41 2012 -> HTML support enabled.
Thu Dec 6 15:32:41 2012 -> Self checking every 1800 seconds.
--
View this message in context:
http://old.nabble.com/clamav-no-timestamp-in-the-logs-tp34756576p34766927.html
Sent from the clamav-users mailing list archive at Nabble.com.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml