Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a log file catalina.out in the following location.

/opt/apache-tomcat-3/logs/

I will like to know if it logs the failed mysql query info.

I will also like to know the kind of errors the people look for in this file.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Catalina.out is where log4j and system.out and system.err tend to go, as per the tomcat wiki. If the application in question has been set up to write out the failed mysql query using one of those methods then it will be in that log.

You can look at adjusting the log4j.properties file to a higher level if that's what used.

I tend to monitor catalina.out for stack traces, too many incorrect logins, and various bits like that.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.