source: oceandb/wavemaker_prototype/src/log4j.properties

Last change on this file was 47, checked in by jazz, 16 years ago
  • blank new project
File size: 2.9 KB
Line 
1log4j.rootLogger=warn, stdout
2
3log4j.appender.stdout=org.apache.log4j.ConsoleAppender
4log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
5log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m> (%x) %n
6
7
8
9### WaveMaker loggers
10
11
12
13## Service
14
15# Log progress while generating service class
16#log4j.logger.com.wavemaker.service.codegen=debug
17
18
19## DataService: runtime
20
21# Transactions
22#
23# WARN - log out-of-sequence transaction begin/commit/rollback calls
24# For example, calling commit explicitly when no transaction is running
25#
26# INFO - log when we're about to run work using Spring's Transaction Template.
27# also log calls to DataServiceManager begin/commit/rollback
28# (before any work has been done)
29#
30# DEBUG - also log a stack trace for all log messages
31#
32log4j.logger.com.wavemaker.runtime.data.tx=warn
33
34# EventListener
35#
36# INFO - log startRequest/endRequest events
37log4j.logger.com.wavemaker.runtime.data.event=warn
38
39# DataService work
40#
41# logs information about runtime behavior
42log4j.logger.com.wavemaker.runtime.data.work=warn
43
44# DataService metadata logger
45#
46# DEBUG - log info about backing metadata
47log4j.logger.com.wavemaker.data.metadata=warn
48
49
50## DataService: design time and tools
51
52
53# Parser
54#
55log4j.logger.com.wavemaker.tools.data.parser=warn
56
57# Import Database logger
58log4j.logger.com.wavemaker.tools.data.importdb=warn
59
60
61## Server
62
63# JSONRPCController
64#
65# INFO - log method invocations
66# DEBUG - log method parameters, returns
67log4j.logger.com.wavemaker.runtime.server=info
68
69# JSON library logging
70#
71# INFO - cycles detection
72log4j.logger.com.wavemaker.runtime.server.json=info
73
74
75
76
77
78### 3rdparty loggers
79
80
81## JSON
82log4j.category.net.sf.json=warn
83
84
85
86## Spring
87
88# Spring ClassUtils
89#log4j.logger.org.springframework.util.ClassUtils=warn
90
91log4j.category.org.springframework.web.servlet.view=warn
92
93
94
95
96## Hibernate
97
98log4j.logger.org.hibernate=warn
99
100log4j.logger.org.hibernate.connection.UserSuppliedConnectionProvider=error
101log4j.logger.org.hibernate.cfg.SettingsFactory=error
102
103# log just the SQL
104#log4j.logger.org.hibernate.SQL=debug
105
106# log JDBC bind parameters
107#log4j.logger.org.hibernate.type=debug
108
109# log HQL query parser activity
110#log4j.logger.org.hibernate.hql.ast.AST=warn
111
112# log schema export/update
113#log4j.logger.org.hibernate.tool.hbm2ddl=debug
114
115# log HQL parse trees
116#log4j.logger.org.hibernate.hql=debug
117
118# log cache activity
119#log4j.logger.org.hibernate.cache=debug
120
121# log transaction activity
122#log4j.logger.org.hibernate.transaction=debug
123
124# log JDBC resource acquisition
125#log4j.logger.org.hibernate.jdbc=debug
126
127# enable the following line if you want to track down connection
128# leakages when using DriverManagerConnectionProvider
129#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
130
131# log database import
132#log4j.logger.org.hibernate.cfg.reveng=debug
133
134
135
136## Acegi
137
138#log4j.logger.org.acegisecurity=debug
139
140# log LDAP provider
141#log4j.logger.org.acegisecurity.providers.ldap=debug
Note: See TracBrowser for help on using the repository browser.