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
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to