| 1 | = Tomcat HowTo Get More Information from Logging |
| 2 | |
| 3 | Tags: [[HowTo]] |
| 4 | |
| 5 | /Originally from [[http://blog.trifork.com/2011/03/18/debugging-the-dreaded-severe-error-listenerstart-and-severe-error-filterstart-tomcat-error-messages/]], which refers to getting more information about listener start errors, but I think it should apply to all error logging. |
| 6 | |
| 7 | == Process |
| 8 | |
| 9 | 1. Create a file `logging.properties` in the `WEB-INF/classes` directory in Tomcat. |
| 10 | 2. In the file paste the following text: |
| 11 | |
| 12 | {{{ |
| 13 | #!ini |
| 14 | org.apache.catalina.core.ContainerBase.[Catalina].level = INFO |
| 15 | org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler |
| 16 | }}} |
| 17 | |
| 18 | |
| 19 | [[BackLinks]] |