Re: Announcing, log4jdbc 1.0!

2007-04-23 Thread Jacob Kjome
This sounds really useful. Thanks for sharing! I suggest putting a reference to this out on the Log4j Wiki. In fact, I think maybe we should move all our Log4j related links out there instead of requiring users to submit request to get it on the Log4j web site. I'm still not entirely clear

RE: Logger name in the log entry

2007-04-23 Thread Cheung, Quinn
Oh yes, I see now. My mistake... -Original Message- From: dirk ooms [mailto:[EMAIL PROTECTED] Sent: April 23, 2007 4:40 PM To: Log4J Users List Subject: Re: Logger name in the log entry On Monday 23 April 2007 22:16, Cheung, Quinn wrote: > I'm afraid that doesn't work. As I mentioned

Re: Logger name in the log entry

2007-04-23 Thread dirk ooms
On Monday 23 April 2007 22:16, Cheung, Quinn wrote: > I'm afraid that doesn't work. As I mentioned in the original mail, I don't > want the class name. I want the name (identifier) of the logger. In my > case I'm not using the class name in the call to Logger.getLogger(), > therefore the name of

RE: Logger name in the log entry

2007-04-23 Thread Cheung, Quinn
I'm afraid that doesn't work. As I mentioned in the original mail, I don't want the class name. I want the name (identifier) of the logger. In my case I'm not using the class name in the call to Logger.getLogger(), therefore the name of the logger is not the same as the class name. -Or

RE: Time stamp in file name

2007-04-23 Thread Kamal Ahmed
You can also use: Timestamp File Appender Appender creates a new log file on each start of an application, with the additional feature that the log file name contains the current timestamp. Appender is pretty simple, it is derived from FileAppender and replaces string {timestamp} from the value

Re: Time stamp in file name

2007-04-23 Thread Hjelmstad
Thanks for the help. James Stauffer wrote: > > My DateFormatFileAppender always includes the data pattern in the > filename. > http://stauffer.james.googlepages.com/DateFormatFileAppender.java > > > -- View this message in context: http://www.nabble.com/Time-stamp-in-file-name-tf3619129.h

Re: Log4J XML configuration file for a library on classpath

2007-04-23 Thread Marcos
James Stauffer escreveu: Generally adding log4j.xml to a directory in the classpath will work. Did you try that? Hi, First of all thanks for answer :-) I've added the log4j.xml to the classpath and it worked :-) as you recommended :-), but I made it in a "not so elegant way", I mean I've ad

Re: Log4J XML configuration file for a library on classpath

2007-04-23 Thread James Stauffer
Generally adding log4j.xml to a directory in the classpath will work. Did you try that? On 4/23/07, Marcos <[EMAIL PROTECTED]> wrote: Hi all, I'm reading for a couple of hours the log4j documentation and I think I'm missing something Below the scenario.: - I have an application that uses

Log4J XML configuration file for a library on classpath

2007-04-23 Thread Marcos
Hi all, I'm reading for a couple of hours the log4j documentation and I think I'm missing something Below the scenario.: - I have an application that uses a library (quartz.jar), this library uses the commons logging facility to log its messages :-) When I put the log4j libraries (log4j-

Announcing, log4jdbc 1.0!

2007-04-23 Thread Arthur Blake
log4jdbc is a JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers, using the log4j 1.2.x logging system. This JDBC driver can be "dropped in" to log the SQL and JDBC calls of any java application without modifying the original applicat