How can I catch tomcat logs by using java.util.logging? I haven't got idea how to bind logs to my handler
Asked
Active
Viewed 103 times
0
-
1catch tomcat logs? catch them in your application? please expand your question so it can be answered. – dom farr Jun 13 '13 at 10:35
-
I wanted to add my custom handler and add tomcat logger to it. – user2459256 Sep 23 '13 at 11:53
-
but now I created a libraary. it adds in project and call method install with parameter "name of app". it Adds root logger to my handler in this library and after it it sends logs on server. – user2459256 Sep 23 '13 at 11:55
-
Related: [Custom java.util.logging Handler in tomcat](http://stackoverflow.com/questions/14590330/custom-java-util-logging-handler-in-tomcat) – jmehrens Mar 17 '16 at 18:16
-
Possible duplicate of [I want to create Handler that will be catch all Logs of web aplications on Tomcat, and](http://stackoverflow.com/questions/16960561/i-want-to-create-handler-that-will-be-catch-all-logs-of-web-aplications-on-tomca) – jmehrens Apr 06 '16 at 21:25