Subject RE: [Firebird-Java] How to turn on logging...
Author Robert DiFalco
Btw, this is with JayBird 1.0.1.

-----Original Message-----
From: Robert DiFalco
Sent: Tuesday, December 30, 2003 11:56 AM
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] How to turn on logging...


I am including log4j-1.2.8.jar in my class path. I add this java
property:

-Dlog4j.configuration=file:/c:/apps/tnd/bin/log4j.properties

Then I add the following single line in the properties file:

log4j.logger.org.firebirdsql=INFO, DEBUG, INFO, WARN, ERROR, FATAL

What I get is this:

log4j:ERROR Could not find value for key log4j.appender.DEBUG
log4j:ERROR Could not instantiate appender named "DEBUG".
log4j:ERROR Could not find value for key log4j.appender.INFO
log4j:ERROR Could not instantiate appender named "INFO".
log4j:ERROR Could not find value for key log4j.appender.WARN
log4j:ERROR Could not instantiate appender named "WARN".
log4j:ERROR Could not find value for key log4j.appender.ERROR
log4j:ERROR Could not instantiate appender named "ERROR".
log4j:ERROR Could not find value for key log4j.appender.FATAL
log4j:ERROR Could not instantiate appender named "FATAL".
log4j:WARN No appenders could be found for logger (discovery).
log4j:WARN Please initialize the log4j system properly.

Can anyone think of what I may be doing wrong?

Thanks!

R.



Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/Firebird-Java/

To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.