You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Xanana Gusmao <gm...@spamgourmet.com> on 2006/11/06 09:42:22 UTC

(Review) is this log4j parsing debug output correct ?

Hi,

I wondering if there's anything wrong with my log4j.properties.
The log output is as follows:


log4j: Trying to find [log4j.xml] using context classloader
org.eclipse.core.runtime.internal.adaptor.ContextFinder@7bd9f2.
log4j: Trying to find [log4j.xml] using
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@1e97676 class loader.
log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
log4j: Trying to find [log4j.properties] using context classloader
org.eclipse.core.runtime.internal.adaptor.ContextFinder@7bd9f2.
log4j: Using URL [bundleresource://15/log4j.properties] for automatic log4j
configuration.
log4j: Reading configuration from URL bundleresource://15/log4j.properties
log4j: Parsing for [root] with value=[DEBUG, Console, A1].
log4j: Level token is [DEBUG].
log4j: Category root set to DEBUG
log4j: Parsing appender named "Console".
log4j: Parsing layout options for "Console".
log4j: Setting property [conversionPattern] to [%d %-5p [%t] - %m%n].
log4j: End of parsing for "Console".
log4j: Parsed "Console" options.
log4j: Parsing appender named "A1".
log4j: Parsing layout options for "A1".
log4j: Setting property [conversionPattern] to [%d %-5p [%t] - %m%n].
log4j: End of parsing for "A1".
log4j: Setting property [datePattern] to ['.old.'yyyy-MM-dd].
log4j: Setting property [append] to [false].
log4j: Setting property [file] to [osgi.log].
log4j: setFile called: osgi.log, false
log4j: setFile ended
log4j: Appender [A1] to be rolled at midnight.
log4j: Parsed "A1" options.
log4j: Parsing for [kodo.jdbc.SQL] with value=[TRACE, kodolog].
log4j: Level token is [TRACE].
log4j: Category kodo.jdbc.SQL set to TRACE
log4j: Parsing appender named "kodolog".
log4j: Parsing layout options for "kodolog".
log4j: Setting property [conversionPattern] to [%-5r %-5p [%t] %c{2} - %m%n].
log4j: End of parsing for "kodolog".
log4j: Setting property [maxFileSize] to [10mb].
log4j: Setting property [file] to [kodo.log].
log4j: Setting property [append] to [false].
log4j: Setting property [maxBackupIndex] to [9].
log4j: setFile called: kodo.log, false
log4j: setFile ended
log4j: Parsed "kodolog" options.
log4j: Handling log4j.additivity.kodo.jdbc.SQL=[null]
log4j: Parsing for [kodo.jdbc.JDBC] with value=[TRACE, kodolog].
log4j: Level token is [TRACE].
log4j: Category kodo.jdbc.JDBC set to TRACE
log4j: Parsing appender named "kodolog".
log4j: Appender "kodolog" was already parsed.
log4j: Handling log4j.additivity.kodo.jdbc.JDBC=[null]
log4j: Finished configuring.
log4j: Reading configuration from URL bundleresource://15/log4j.properties
log4j: Parsing for [root] with value=[DEBUG, Console, A1].
log4j: Level token is [DEBUG].
log4j: Category root set to DEBUG
log4j: Parsing appender named "Console".
log4j: Parsing layout options for "Console".
log4j: Setting property [conversionPattern] to [%d %-5p [%t] - %m%n].
log4j: End of parsing for "Console".
log4j: Parsed "Console" options.
log4j: Parsing appender named "A1".
log4j: Parsing layout options for "A1".
log4j: Setting property [conversionPattern] to [%d %-5p [%t] - %m%n].
log4j: End of parsing for "A1".
log4j: Setting property [datePattern] to ['.old.'yyyy-MM-dd].
log4j: Setting property [append] to [false].
log4j: Setting property [file] to [osgi.log].
log4j: setFile called: osgi.log, false
log4j: setFile ended
log4j: Appender [A1] to be rolled at midnight.
log4j: Parsed "A1" options.
log4j: Parsing for [kodo.jdbc.SQL] with value=[TRACE, kodolog].
log4j: Level token is [TRACE].
log4j: Category kodo.jdbc.SQL set to TRACE
log4j: Parsing appender named "kodolog".
log4j: Parsing layout options for "kodolog".
log4j: Setting property [conversionPattern] to [%-5r %-5p [%t] %c{2} - %m%n].
log4j: End of parsing for "kodolog".
log4j: Setting property [maxFileSize] to [10mb].
log4j: Setting property [file] to [kodo.log].
log4j: Setting property [append] to [false].
log4j: Setting property [maxBackupIndex] to [9].
log4j: setFile called: kodo.log, false
log4j: setFile ended
log4j: Parsed "kodolog" options.
log4j: Handling log4j.additivity.kodo.jdbc.SQL=[null]
log4j: Parsing for [kodo.jdbc.JDBC] with value=[TRACE, kodolog].
log4j: Level token is [TRACE].
log4j: Category kodo.jdbc.JDBC set to TRACE
log4j: Parsing appender named "kodolog".
log4j: Appender "kodolog" was already parsed.
log4j: Handling log4j.additivity.kodo.jdbc.JDBC=[null]
log4j: Finished configuring.


I am especially worried about this line:

log4j: Handling log4j.additivity.kodo.jdbc.JDBC=[null]

What does this mean ?

Thanks

Xanana


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org