|
Re: Logging from within EJBs: msg#00299java.jboss.user
Hello! Thanks everyone, now logging works as desired! Dimitri On Mon, 8 Jul 2002 12:27:09 +0100, you wrote: >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 ------------------------------------------------------- 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: | Viewing JBoss's log file with Chainsaw, Dimitri PISSARENKO |
|---|---|
| Next by Date: | RE: OracleDS binding on 3.0.1RC1?, Brian Topping |
| Previous by Thread: | Re: Logging from within EJBs, Simon Stewart |
| Next by Thread: | Jetty and Port 80, David W Sica |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |