logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: log4j log and j2ee container log: msg#00022

Subject: Re: log4j log and j2ee container log

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.



<Prev in Thread] Current Thread [Next in Thread>