How to recreate Tomcat log (catalina.out) after deletion
search cancel

How to recreate Tomcat log (catalina.out) after deletion

book

Article ID: 381645

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

We have deleted the catalina.out log from $SPECROOT/tomcat/logs and would like to know how to recreate it.

Resolution

Restart tomcat service with the below commands.

$SPECROOT/tomcat/bin/stopTomcat.sh
$SPECROOT/tomcat/bin/startTomcat.sh

**Note** - New log will not be created if there is insufficient disk space. Run the df command to verify disk space.