ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
How to remove "Empty File" lines from log?
thepisu


Joined: 16 Jul 2007
Posts: 0
Location: Italy
Reply with quote
Hi to all! I'm using ClamWin on a Windows Server, I scheduled a weekly scan by using a batch file:

Code:
@echo off
if "%1"=="" goto end
set CLAMWIN_LOG="C:\Documents and Settings\All Users\.clamwin\log\ClamScanLog.txt"
set CLAMWIN_DB="C:\Documents and Settings\All Users\.clamwin\db"
Now Scheduled Scan (%1) Starting... >> %CLAMWIN_LOG%
C:\Programmi\ClamWin\bin\clamscan %1 --database=%CLAMWIN_DB% --log=%CLAMWIN_LOG% --recursive --max-ratio=0
:end


This file is run by Windows's Scheduled Tasks (command: C:\Programmi\ClamWin\scan.bat C:\).

In my log file, I see a huge number of lines like this:
C:\Documents and Settings\Administrator\SendTo\Documenti.mydocs: Empty file

There is a way to prevent the logging of these "empty files"?
View user's profileSend private message
How to remove "Empty File" lines from log?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic