Re: java.security.AccessControlException when use log4j in applet

2006-04-22 Thread Swati Das
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

Re: How to implement multiple loggers per class?

2006-04-22 Thread Jacob Kjome
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

Re: Catgory.getInstance(Class/String) in the way

2006-04-22 Thread Jacob Kjome
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

Configuring the Log4J -1.3 DBAppender with org.apache.log4j.db.DriverManagerConnectionSource

2006-04-22 Thread duvelbier-tsmets
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