Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is my ClamAV log?

I use this code to run a daily check through cron

30 01 * * * /usr/bin/freshclam --quiet; /usr/bin/clamscan --recursive --no-summary --infected / 2>/dev/null

I'm not sure if this code stores a log file at all.

I want to know: If it does, then where can I find it? If it doesn't what is required to be changed to store the logs?

like image 441
Saurabh Vashist Avatar asked May 19 '15 19:05

Saurabh Vashist


1 Answers

From AskUbuntu question:

There is no log file by default - the output goes to stdout.

In order to have a log specify it with the -l option i.e. -l clamav.log

like image 162
Neil Smithline Avatar answered Oct 19 '22 09:10

Neil Smithline