|
Re: Logging from within EJBs: msg#00279java.jboss.user
On Mon, Jul 08, 2002 at 12:42:30AM +0200, Dimitri PISSARENKO wrote: <snip "Logger info"> > does not work in my case (although logger.isDebugEnabled() returns > true). > > Does someone know, how one can get the reference to the Logger from > wihin an EJB? I found that I needed to drop the Console appenders "Threshold" to DEBUG. You'll also need to limit the "org.jboss" category to "INFO" if you do this, but that should be a case of editing the log4j.xml file in the server/${server.name}/conf directory. I also added a category for my own classes. The log4j.xml that ships with JBoss is well commented, so you shouldn't find anything too frightening. Cheers, Simon -- "The idea of a karaoke version of ``My Way'' that lasts for 3750 minutes is just too frightening to consider." Programming Ruby, the Pragmatic Programmers ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | JBoss 3.0 ClassLoader Architecture whitepaper, Ian . Sleigh |
|---|---|
| Next by Date: | Re: SSL: documentation + bugfix, Simon Stewart |
| Previous by Thread: | Re: Showstopper Undeploy Problem??, Jules Gosnell |
| Next by Thread: | Re: Logging from within EJBs, Dimitri PISSARENKO |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |