RE: logging through log4j

2008-04-24 Thread Will Johnson
ord) { String logName = record.getLoggerName(); // do what ever forwarding you need to in here based on the framework of your choice. } } -Original Message- From: Henrib [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2008 4:22 AM To: solr-user@lucene.apache.org

RE: logging through log4j

2008-04-24 Thread Henrib
Will, I'd be definitely interested in your code but mostly in the config & deployment options if you can share. You did not happen to deploy on Websphere 6 by any chance ? I can't find a way to configure jul to only log into our application logs (even less so in our log4j logs); I'm not even sure

RE: logging through log4j

2008-04-22 Thread Will Johnson
Henri, There are some bridges out there but none had a version number > 0.1. I found the simplest way was to configure JUL using a custom config file and then tell it to use my custom handler to forward all messages to log4j. There are obvious performance implications but it is doable and fairly