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

Last change on this file since 3992 was 3992, checked in by Nicklas Nordborg, 15 years ago

Fixes #728: jobagent.sh should accept command status

Also made the jobagent log into it's own file (jobagent.log) instead of stdout

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