Log trace missing in catalina.out
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi Javaranch,
I am facing a problem tracing the transaction cycle in catalina.out file in my tomcat server.I am using prinln statements in my application to trace the application execution cycle.
Now the case is i got some problem finding data in database whichshould be inserted while my application execution.
So, i thought of tracing my catalina.out file for tracing out whether any exception occured or not.
And i got shocked seeing that catalina .out where some of my application trace is missing even if complete cycle executed successfully without any exceptions.
My question is "Can tomcat ignore some of the print statements for not writing into catalina.out.?"
How is it possible that i cant trace anything in catalina.out while the application executed successfully?
Please help me on this issue...!
Thanks in Advance...!
I am facing a problem tracing the transaction cycle in catalina.out file in my tomcat server.I am using prinln statements in my application to trace the application execution cycle.
Now the case is i got some problem finding data in database whichshould be inserted while my application execution.
So, i thought of tracing my catalina.out file for tracing out whether any exception occured or not.
And i got shocked seeing that catalina .out where some of my application trace is missing even if complete cycle executed successfully without any exceptions.
My question is "Can tomcat ignore some of the print statements for not writing into catalina.out.?"
How is it possible that i cant trace anything in catalina.out while the application executed successfully?
Please help me on this issue...!
Thanks in Advance...!
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
My first rule of debugging is don't assume it's the other guy's fault. That is, assume the bug is in your code and not Tomcat. Can you please post an example log file and point out where you expect the missing statements to be? Also post the code that issues the missing statements.
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
You should be using a normal logging solution rather than relying on System.out.
| When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse? The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |










