Follow

Tip: Deleteing (zeroing out) large log files on Windows servers

Occasionally, a large log file may need to be deleted/shrunk to free up disk space and/or reset log collection for troubleshooting.

We recommend that the webapp.log and audit.log be not resized as they contain valuable audit information.

Please ensure there is no current issue being experienced on the system where the logs may be needed for troubleshooting.

To zero out specific log files, open a DOS command prompt using 'Run as Administrator'' <TRAVERSE_HOME> refers to the Traverse installation directory:
jms.log is used as an example. You may substitute jms.log with any large fie such as service.log, monitor.log, etc.

cd <TRAVERSE_HOME>
cd logs
copy /Y NUL empty.txt
copy empty.txt jms.log

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Efren Abaya

    This is my problem exactly. Log files have grown to Gigabytes after several years and are filling up the hard disk. Thanks for the tip!

Please sign in to leave a comment.