log timestamp not in sync with system time

2008-05-08 Thread kadaba
My logs are not in sync with the system time. I am not sure why this behavior.I had changed timezone to gmt in one of the classes,I initially thought that this might be the problem but i ran a sample application in which the behavior did not occur. I am not sure why this is happening. Can anyone h

Re: log4j.properties file outside jar file?

2008-05-08 Thread Jacob Kjome
Why do you feel the need to define -Dlog4j.configuration?  Auto-configuration should pick up log4j.properties on its own.  Have you tried that?  Otherwise, to point to the props inside the jar file, you need... java -Dlog4j.configuration=jar:file:/full/path/to/myapp.jar!/log4j.properties -jar

Re: Understanding log levels

2008-05-08 Thread Curt Arnold
On May 8, 2008, at 8:23 AM, Tasso Angelidis wrote: So as an example? class MyClass { Logger eventLogger = Logger.getLogger("MyClass.EventLogger"); Logger opsLogger = Logger.getLogger("MyClass.OpsLogger"); void someMethod() { eventLogeger.warn("

RE: Understanding log levels

2008-05-08 Thread Tasso Angelidis
So as an example? class MyClass { Logger eventLogger = Logger.getLogger("MyClass.EventLogger"); Logger opsLogger = Logger.getLogger("MyClass.OpsLogger"); void someMethod() { eventLogeger.warn("Server stoppped"); opsLogger.warn("Serv

Re: JDBCAppender

2008-05-08 Thread Simonebernardi
Yes     Bender Heri ha scritto: Have you attached the appender to any logger? Heri -Original Message- From: Simonebernardi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 08, 2008 12:12 PM To: log4j-user@logging.apache.org Subject: [SPAM (DNS Blacklist)] -

RE: JDBCAppender

2008-05-08 Thread Bender Heri
Have you attached the appender to any logger? Heri > -Original Message- > From: Simonebernardi [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 08, 2008 12:12 PM > To: log4j-user@logging.apache.org > Subject: [SPAM (DNS Blacklist)] - JDBCAppender - Sending mail server > found on list.dsbl.o

JDBCAppender

2008-05-08 Thread Simonebernardi
Hi all, I have a problem with JDBCAppender. I wrote a configuration file, but the table does not write anything and not give me any errors. why? value="jdbc:mysql://localhost:3306/sicve_uel1"/>