jul

Setting java.util.logging destination programmatically

I'm using java.util.logging for logging and tracing purposes. How can I within a Java application dynamically set the file to which the log should be written. ...

Configuring servlet logging properly under Resin

Hello. I have trouble to configure standard JDK logging resin uses. I have read the documentation many times and looked for examples, but in the end I'm still puzzled. I run a servlet under resin 4.0.1 with simple logging requirements. All logging configuration should be possible in web.xml (and not global resin.xml) resin (com.cauch...

Is there a robust java.util.logging handler implementation of syslog?

I'm looking into hooking up a 3rd party Java application to our log aggregation/analysis solution (probably Splunk, we haven't finalized our selection yet though). It seems to be easiest to hook the Splunk agent to syslog, so I'm looking for a way to redirect the application logs to a local syslog daemon on the server. The Java applicat...

How to disable JUL in 3rd party jar?

In 3rd party jar logger exist this code. 'Logger.getLogger("net.java.ao").log(Level.INFO, sql.toString());' How can I disable this logger from my program? ...

Need solution to webapp errors from Tomcat trying to log events after logger has been disposed

Enviroment: JSF 2.0, RichFaces 3.3.3, Facelets 1.1.15B1, Spring Framework 3.x, WebFlow 2.1, MyBatis 3.0.1, Oracle 10/11 g backend, SLF4j into Log4j. Well thats probably TMI since my issue is only a logging problem but better to be too thorough than not. Anyways... I just setup SLF4j & log4j so now all of the internal facelets log msgs ...