config/dist/log4j.properties

Code
Comments
Other
Rev Date Author Line
2959 27 Nov 06 nicklas 1 ### direct log messages to stdout ###
2959 27 Nov 06 nicklas 2 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
2959 27 Nov 06 nicklas 3 log4j.appender.stdout.Target=System.out
2959 27 Nov 06 nicklas 4 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
2959 27 Nov 06 nicklas 5 log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
2959 27 Nov 06 nicklas 6
2959 27 Nov 06 nicklas 7 ### set log levels - for more verbose logging change 'info' to 'debug' ###
2959 27 Nov 06 nicklas 8 # setting can be: all, debug, info, warn, error, fatal or off
2959 27 Nov 06 nicklas 9
2959 27 Nov 06 nicklas 10 log4j.rootLogger=warn, stdout
2959 27 Nov 06 nicklas 11
2959 27 Nov 06 nicklas 12
2959 27 Nov 06 nicklas 13 # -------------------
2959 27 Nov 06 nicklas 14 # Base 2 CORE loggers
2959 27 Nov 06 nicklas 15 # -------------------
2959 27 Nov 06 nicklas 16 ### Core logger
2959 27 Nov 06 nicklas 17 log4j.logger.net.sf.basedb.core=warn
2959 27 Nov 06 nicklas 18 #log4j.logger.net.sf.basedb.core=info
2959 27 Nov 06 nicklas 19
2959 27 Nov 06 nicklas 20 ### Log batcher SQL generation
2959 27 Nov 06 nicklas 21 #log4j.logger.net.sf.basedb.core.batcher.sql=debug
2959 27 Nov 06 nicklas 22
2959 27 Nov 06 nicklas 23 ### Log batcher parameter binding
2959 27 Nov 06 nicklas 24 #log4j.logger.net.sf.basedb.core.batcher.bind=debug
2959 27 Nov 06 nicklas 25
2959 27 Nov 06 nicklas 26 ### Log Query API HQL/SQL generation
2959 27 Nov 06 nicklas 27 #log4j.logger.net.sf.basedb.core.query.ql=debug
2959 27 Nov 06 nicklas 28
2959 27 Nov 06 nicklas 29 ### Log Query API parameter binding
2959 27 Nov 06 nicklas 30 #log4j.logger.net.sf.basedb.core.query.bind=debug
2959 27 Nov 06 nicklas 31
2959 27 Nov 06 nicklas 32 ### Log Internal Job queue events
6444 09 Apr 14 nicklas 33 #log4j.logger.net.sf.basedb.core.InternalJobQueue=debug
2959 27 Nov 06 nicklas 34
2959 27 Nov 06 nicklas 35 ### Log Internal Secondary storage controller
2959 27 Nov 06 nicklas 36 #log4j.logger.net.sf.basedb.core.storage=debug
2959 27 Nov 06 nicklas 37
4093 18 Jan 08 enell 38 ### Log Signal handling events
4093 18 Jan 08 enell 39 #log4j.logger.net.sf.basedb.core.signal=debug
4093 18 Jan 08 enell 40
4187 20 Mar 08 nicklas 41 ### Extensions API
5608 15 Apr 11 nicklas 42 #log4j.logger.net.sf.basedb.util.extensions=debug
4187 20 Mar 08 nicklas 43 #log4j.logger.net.sf.basedb.clients.web.extensions=debug
4093 18 Jan 08 enell 44
4740 05 Feb 09 nicklas 45 ### Overview generation
4740 05 Feb 09 nicklas 46 #log4j.logger.net.sf.basedb.util.overview=debug
4187 20 Mar 08 nicklas 47
2959 27 Nov 06 nicklas 48
2959 27 Nov 06 nicklas 49 # -----------------
2959 27 Nov 06 nicklas 50 # Job agent loggers
2959 27 Nov 06 nicklas 51 # -----------------
4502 10 Sep 08 nicklas 52 log4j.logger.net.sf.basedb.clients.jobagent=warn
2959 27 Nov 06 nicklas 53
2959 27 Nov 06 nicklas 54 # -----------------
2959 27 Nov 06 nicklas 55 # Hibernate loggers
2959 27 Nov 06 nicklas 56 # -----------------
6634 01 Dec 14 nicklas 57 log4j.logger.org.hibernate=off
2959 27 Nov 06 nicklas 58 #log4j.logger.org.hibernate=debug
2959 27 Nov 06 nicklas 59
2959 27 Nov 06 nicklas 60 ### log HQL query parser activity
2959 27 Nov 06 nicklas 61 #log4j.logger.org.hibernate.hql.ast.AST=debug
2959 27 Nov 06 nicklas 62
2959 27 Nov 06 nicklas 63 ### log just the SQL
2959 27 Nov 06 nicklas 64 #log4j.logger.org.hibernate.SQL=debug
2959 27 Nov 06 nicklas 65
2959 27 Nov 06 nicklas 66 ### log JDBC bind parameters ###
2959 27 Nov 06 nicklas 67 #log4j.logger.org.hibernate.type=info
2959 27 Nov 06 nicklas 68 #log4j.logger.org.hibernate.type=debug
2959 27 Nov 06 nicklas 69
2959 27 Nov 06 nicklas 70 ### log schema export/update ###
2959 27 Nov 06 nicklas 71 #log4j.logger.org.hibernate.tool.hbm2ddl=debug
5388 17 Aug 10 nicklas 72 #log4j.logger.net.sf.basedb.core.hibernate.SchemaGenerator=debug
2959 27 Nov 06 nicklas 73
2959 27 Nov 06 nicklas 74 ### log HQL parse trees
2959 27 Nov 06 nicklas 75 #log4j.logger.org.hibernate.hql=debug
2959 27 Nov 06 nicklas 76
2959 27 Nov 06 nicklas 77 ### log cache activity ###
2959 27 Nov 06 nicklas 78 #log4j.logger.org.hibernate.cache=debug
2959 27 Nov 06 nicklas 79
2959 27 Nov 06 nicklas 80 ### log transaction activity
2959 27 Nov 06 nicklas 81 #log4j.logger.org.hibernate.transaction=debug
2959 27 Nov 06 nicklas 82
2959 27 Nov 06 nicklas 83 ### log JDBC resource acquisition
2959 27 Nov 06 nicklas 84 #log4j.logger.org.hibernate.jdbc=debug
2959 27 Nov 06 nicklas 85
2959 27 Nov 06 nicklas 86 ### enable the following line if you want to track down connection ###
2959 27 Nov 06 nicklas 87 ### leakages when using DriverManagerConnectionProvider ###
2959 27 Nov 06 nicklas 88 #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
2959 27 Nov 06 nicklas 89
2959 27 Nov 06 nicklas 90
2959 27 Nov 06 nicklas 91
2959 27 Nov 06 nicklas 92