logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: log4j log and j2ee container log
Date Wed, 21 Sep 2005 16:21:47 GMT

On Sep 21, 2005, at 8:54 AM, Charles Li wrote:

> Hi,
> I have a j2ee application that is setup to use log4j
> log.
> It write error messages to the log4j log, but it also
> writes the same message to the j2ee container log.
> How can I make it only write to the log4j log?
>
> Below is a sample code:
> 63      try {
> 64        setValues(newHostName, messages, context);
> 65      } catch (Exception e) {
> 66        new DEPException(logger, e);
> 67      }
> 68    }
>
> Thanks.


Would be better to ask this question on log4j-user.

Mime
View raw message