Hi Tomcat, I have a question about how to get more debug information in a tomcat log file. Sometimes my websites, which run on tomcat 9.0.43, suddenly all went down without a good reason.
When this happens, the only thing I can do is restart the Tomcat service. I am trying to figure out why it happened, however in the log file (catalina.out), there is just a repeated bunch of java NullPointerException. [2022-09-07 21:44:01] [crit] Error processing request [2022-09-07 21:44:01] [crit] java.lang.NullPointerException [2022-09-07 21:48:59] [crit] Error processing request [2022-09-07 21:48:59] [crit] java.lang.NullPointerException [2022-09-07 21:54:48] [crit] Error processing request [2022-09-07 21:54:48] [crit] java.lang.NullPointerException So my question is: is there a way to get more debug information in the log file? If so, how? Best regards, Hua