Thread: delete log file
View Single Post
Old 04-06-2005, 01:32 PM  
Grendel
Senior Member
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default

I cannot recommand to completely delete the log-files.
Some scripts will not work properly, if some specific log-files are missing. Try to "reset to 0" instead.

for example... resetlogs.bat

Code:
@echo off
rem.>c:\ioFTPD\logs\xferlog
rem.>c:\ioFTPD\logs\ioFTPD.log
rem.>c:\ioFTPD\logs\Error.log
rem.>c:\ioFTPD\logs\SysOp.log
rem.>c:\ioFTPD\logs\SystemError.log
this will reset all the logs to 0byte files
__________________
- FlashFXP v4.0 BETA (v3.7.9 Build 1401) registered
- Windows 7 x64
- McAfee Antivirus Enterprise 8.7i Patch 2 + Antispyware 8.7i
Grendel is offline   Reply With Quote