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:
>
>
>
>> does not work in my case (although logger.isDebugEnabled() returns
>> true).
>>
>> Does someone know, how o
On Mon, Jul 08, 2002 at 12:42:30AM +0200, Dimitri PISSARENKO wrote:
> 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 "Thresh
wraps it.
- Original Message -
From: "Andreas Kuckartz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 12:41 AM
Subject: Re: [JBoss-user] Logging from within EJBs
> > How can JBoss deprecate an interface in a separate package?
>
> C
> How can JBoss deprecate an interface in a separate package?
Category has been deprecated by the log4j project:
"This class has been deprecated and replaced by the Logger subclass. It will
be kept around to preserve backward compatibility until mid 2003.
Logger is a subclass of Category, i.e.
, July 07, 2002 10:29 PM
Subject: Re: [JBoss-user] Logging from within EJBs
> He *is* using log4j. Your suggestion below is a "deprecated" interface.
>
> I suspect that he is not looking in the right place for the debug
> messages.
>
> Debug messages only appear in the l
4 AM, Guy Rouillier wrote:
> Use log4j, e.g.,
>
>private final Category log =
> Category.getInstance(getClass().getName());
>
> - Original Message -
> From: "Dimitri PISSARENKO" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Su
Use log4j, e.g.,
private final Category log = Category.getInstance(getClass().getName());
- Original Message -
From: "Dimitri PISSARENKO" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 07, 2002 6:42 PM
Subject: [JBoss-user] Logging from within
Hello!
I want some of the events in the life of my EJBs to be logged at debug
level. The usual way to get an instance of Logger
class ProjectBean ...
{
...
private Logger logger = Logger.getLogger(ProjectBean.class);
}
and invokation of
if (logger.isDebugEnabled())
{
logger.deb