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

QUESTION

 How do I delete or remove or shrink large log files?

RESOLUTION

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

 

APPLIES TO

Traverse Windows implementation

 

REFERENCE

None

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section