source: trunk/config/dist/log4j.properties @ 3532

Last change on this file since 3532 was 3532, checked in by Martin Svensson, 15 years ago

Fixes #358 Better info from migration tool

File size: 2.8 KB
Line 
1### direct log messages to stdout ###
2log4j.appender.stdout=org.apache.log4j.ConsoleAppender
3log4j.appender.stdout.Target=System.out
4log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
5log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
6
7### direct messages to file hibernate.log ###
8#log4j.appender.file=org.apache.log4j.FileAppender
9#log4j.appender.file.File=hibernate.log
10#log4j.appender.file.layout=org.apache.log4j.PatternLayout
11#log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
12
13### direct messages to file migration.log ###
14log4j.appender.migfile=org.apache.log4j.FileAppender
15log4j.appender.migfile.File=migration.log
16log4j.appender.migfile.layout=org.apache.log4j.PatternLayout
17log4j.appender.migfile.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
18
19### set log levels - for more verbose logging change 'info' to 'debug' ###
20# setting can be: all, debug, info, warn, error, fatal or off
21
22log4j.rootLogger=warn, stdout
23
24
25# -------------------
26# Base 2 CORE loggers
27# -------------------
28### Core logger
29log4j.logger.net.sf.basedb.core=warn
30#log4j.logger.net.sf.basedb.core=info
31
32### Log batcher SQL generation
33#log4j.logger.net.sf.basedb.core.batcher.sql=debug
34
35### Log batcher parameter binding
36#log4j.logger.net.sf.basedb.core.batcher.bind=debug
37
38### Log Query API HQL/SQL generation
39#log4j.logger.net.sf.basedb.core.query.ql=debug
40
41### Log Query API parameter binding
42#log4j.logger.net.sf.basedb.core.query.bind=debug
43
44### Log Internal Job queue events
45#log4j.logger.net.sf.basedb.core.jobqueue=debug
46
47### Log Internal Secondary storage controller
48#log4j.logger.net.sf.basedb.core.storage=debug
49
50# -----------------
51# Migration loggers
52# -----------------
53#log4j.logger.net.sf.basedb.clients.migrate=warn
54log4j.logger.net.sf.basedb.clients.migrate=warn, migfile
55
56# -----------------
57# Job agent loggers
58# -----------------
59log4j.logger.net.sf.basedb.clients.jobagent=warn
60
61# -----------------
62# Hibernate loggers
63# -----------------
64log4j.logger.org.hibernate=off
65#log4j.logger.org.hibernate=debug
66
67### log HQL query parser activity
68#log4j.logger.org.hibernate.hql.ast.AST=debug
69
70### log just the SQL
71#log4j.logger.org.hibernate.SQL=debug
72
73### log JDBC bind parameters ###
74#log4j.logger.org.hibernate.type=info
75#log4j.logger.org.hibernate.type=debug
76
77### log schema export/update ###
78#log4j.logger.org.hibernate.tool.hbm2ddl=debug
79
80### log HQL parse trees
81#log4j.logger.org.hibernate.hql=debug
82
83### log cache activity ###
84#log4j.logger.org.hibernate.cache=debug
85
86### log transaction activity
87#log4j.logger.org.hibernate.transaction=debug
88
89### log JDBC resource acquisition
90#log4j.logger.org.hibernate.jdbc=debug
91
92### enable the following line if you want to track down connection ###
93### leakages when using DriverManagerConnectionProvider ###
94#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
95
96
97
98
Note: See TracBrowser for help on using the repository browser.