franckm
2012-12-06 11:05:39 UTC
I am using clamav on linux in the command line
When I use clamscan from the command line the log file does not show
timestamps
I have seen no option to turn timestamps on in log files
I'd like to get a timestamp especially for the "scanning" and "OK" log
lines.
I have seen that /etc/clamd.conf includes an option to display log times:
# Log time with each message.
# Default: no
LogTime yes
But turning this on has no effect on clamscan when it is run from the
command line.
/tmp/clamscan-franck-test/spots2_32521.zip: OK
----------- SCAN SUMMARY -----------
Known viruses: 315745
Engine version: 0.93
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 25.25 MB
Time: 4.271 sec (0 m 4 s)
Any help much appreciated
When I use clamscan from the command line the log file does not show
timestamps
I have seen no option to turn timestamps on in log files
I'd like to get a timestamp especially for the "scanning" and "OK" log
lines.
I have seen that /etc/clamd.conf includes an option to display log times:
# Log time with each message.
# Default: no
LogTime yes
But turning this on has no effect on clamscan when it is run from the
command line.
clamscan --verbose /tmp/clamscan-franck-test/spots2_32521.zip
Scanning /tmp/clamscan-franck-test/spots2_32521.zip/tmp/clamscan-franck-test/spots2_32521.zip: OK
----------- SCAN SUMMARY -----------
Known viruses: 315745
Engine version: 0.93
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 25.25 MB
Time: 4.271 sec (0 m 4 s)
Any help much appreciated
--
View this message in context: http://old.nabble.com/clamav-no-timestamp-in-the-logs-tp34756576p34756576.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
View this message in context: http://old.nabble.com/clamav-no-timestamp-in-the-logs-tp34756576p34756576.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