### direct log messages to stdout ### log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.Target=System.out log4j.appender.console.layout=org.apache.log4j.PatternLayout #log4j.appender.console.layout.ConversionPattern=%-4r %d{ABSOLUTE} %5p %c{1}:%L - %m%n log4j.appender.console.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n testPersistence ### direct messages to file testPersistence_info.log ### log4j.appender.testPersistence_info=org.apache.log4j.FileAppender log4j.appender.testPersistence_info.File=logging\\testPersistence_info.log log4j.appender.testPersistence_info.layout=org.apache.log4j.PatternLayout #log4j.appender.testPersistence_info.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n log4j.appender.testPersistence_info.layout.ConversionPattern=%d %5p %c{1}[%t]:%L - %m %n ### direct messages to file testPersistence_warn.log ### log4j.appender.testPersistence_warn=org.apache.log4j.FileAppender log4j.appender.testPersistence_warn.File=logging\\testPersistence_warn.log log4j.appender.testPersistence_warn.layout=org.apache.log4j.PatternLayout log4j.appender.testPersistence_warn.layout.ConversionPattern=%d %5p %c{1}[%t]:%L - %m %n ### direct messages to file testPersistence_err.log ### log4j.appender.testPersistence_err=org.apache.log4j.FileAppender log4j.appender.testPersistence_err.File=logging\\testPersistence_err.log log4j.appender.testPersistence_err.layout=org.apache.log4j.PatternLayout log4j.appender.testPersistence_err.layout.ConversionPattern=%-2r %5p %c{1}[%t]:%L - %m %n ### direct messages to file testPersistence_debug.log ### log4j.appender.testPersistence_debug=org.apache.log4j.FileAppender log4j.appender.testPersistence_debug.File=logging\\testPersistence_debug.log log4j.appender.testPersistence_debug.layout=org.apache.log4j.PatternLayout log4j.appender.testPersistence_debug.layout.ConversionPattern=%-2r %5p %c{1}[%t]:%L - %m %n ### set log levels - for more verbose logging change 'info' to 'debug' ### log4j.rootLogger=debug, console # log4j.logger.org.bgbm.berlinmodel.test log4j.logger.org.bgbm.berlinmodel.test=debug, testPersistence_debug # log4j.logger.org.bgbm.berlinmodel log4j.logger.org.bgbm.berlinmodel=debug log4j.logger.org.bgbm.berlinmodel.core=info, testPersistence_info log4j.logger.org.bgbm.berlinmodel.core.AbsSaveObject=info log4j.logger.org.bgbm.berlinmodel.core.AbsSaveObject.Persist=info log4j.logger.org.bgbm.berlinmodel.persistence=info log4j.logger.org.bgbm.berlinmodel.persistence.mapper.AbsMapper=info #log4j.rootLogger=warn, console # log4j.logger.WcExport=debug, console ### enable the following line if you want to track down connection ### ### leakages when using DriverManagerConnectionProvider ### #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace