cPanel + Tomcat

Here you can find tutorials and notes for server-side maintenance/configuration

cPanel/Tomcat - effective log trace

Postby lik » Fri Nov 06, 2009 8:20 am

To grep only warning/error messages from the Tomcat log the following command can be used:
Code: Select all
tail -f /usr/local/jakarta/tomcat/logs/catalina.out | egrep -A2 '(SEVERE|WARNING):'
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am


Return to Server Side Actions

 


  • Related topics
    Replies
    Views
    Last post
cron