Daling Xu sonexent.com> writes:
>
> Hi, All
>
> I am considering using log4j in my project, which is a web-application. I
> used
> j2sdk1.4, servlet 2.3 and java plug in 1.4, and log4j 1.2.3. When I use
> log4j to log informations in the jsp or servlet, every thing is fine, I can
> write to bo
They can all be static loggers, just like you have done. Just give
them a different naming scheme.
private static Logger logger = Logger.getLogger(MyUserLoginClass.class);
private static Logger monitor = Logger.getLogger("monitor");
private static Logger auditor = Logger.getLogger("auditor
You should wrap, not subclass, Logger. See the recent discussion on
this topic. I responded to that one and it applies here as well.
Jake
At 02:34 PM 4/21/2006, you wrote:
>I'm using a project that rolled yet-another-special logger. It looks
>like Log4j (mimics the API) and uses Log4j under
I try to "pipe" my statement to an PostgreSQL via the DBAppender with the
Log4j-1.3
My configuration was the followng :
I keep on receiving the following message :
DBAppender cannot function if the JDBC