java.util.logging to Log4j mapping

reply from David Lloyd in Beginner's Corner - View the full discussion

Alexandre Mendonça wrote:


Hi all,

I'm having an issue when using java.util.logging.Logger, the output gets into ERROR level and into STDERR making it look like an error message.  [...]


This is because we don't directly support JDK logging in this version of AS.  If you're feeling adventurous, you could try pulling in the jboss-logbridge project, and installing its handler into your JDK logging root logger, and it should port over log messages for you.


It should be clear how this works from the source code.  You can check out jboss-logbridge from this link:


It is also in Maven here:

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community