log4j.xml
3.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Target" value="System.out"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%-5p [%c{6}] %m%n"/>
</layout>
</appender>
<!-- ############### Embedded JBoss AS ################# -->
<category name="org.jboss">
<priority value="ERROR"/>
</category>
<category name="com.arjuna">
<priority value="ERROR"/>
</category>
<!-- EMB-6, JMS activation throws an error due to deployment ordering, but as there is a timeout
and retry the tests pass. Hide the error message -->
<category name="jboss.resource.adapter.jms.inflow.JmsActivation">
<priority value="ERROR"/>
</category>
<!-- ############### Hibernate logging ################# -->
<category name="org.hibernate">
<priority value="ERROR"/>
</category>
<!--
<category name="org.hibernate.SQL">
<priority value="TRACE"/>
</category>
<category name="org.hibernate.type">
<priority value="TRACE"/>
</category>
<category name="org.hibernate.loader">
<priority value="TRACE"/>
</category>
<category name="org.hibernate.cache">
<priority value="TRACE"/>
</category>
-->
<!-- Ajax4jsf is too noisy -->
<category name="org.ajax4jsf.cache">
<priority value="WARN"/>
</category>
<!-- ############### Seam logging ################### -->
<category name="org.jboss.seam">
<priority value="WARN"/>
</category>
<!-- These things are too noisy
<category name="org.jboss.seam.jsf.SeamVariableResolver">
<priority value="INFO"/>
</category>
<category name="org.jboss.seam.contexts.Contexts">
<priority value="INFO"/>
</category>
<category name="org.jboss.seam.Component">
<priority value="INFO"/>
</category>
<category name="org.jboss.seam.deployment.Scanner">
<priority value="INFO"/>
</category>
<category name="org.jboss.seam.util.Naming">
<priority value="INFO"/>
</category>
<category name="org.jboss.seam.debug.hot">
<priority value="INFO"/>
</category>
<category name="org.jboss.seam.core.Events">
<priority value="INFO"/>
</category>
-->
<!-- Debugging conversations and persistence contexts
<category name="org.jboss.seam.core.Manager">
<priority value="DEBUG"/>
</category>
<category name="org.jboss.seam.core.ManagedPersistenceContext">
<priority value="DEBUG"/>
</category>
<category name="org.jboss.seam.jsf.AbstractSeamPhaseListener">
<priority value="DEBUG"/>
</category>
<category name="org.jboss.seam.interceptors.ConversationInterceptor">
<priority value="DEBUG"/>
</category>
<category name="org.jboss.seam.contexts.Lifecycle">
<priority value="DEBUG"/>
</category>
<category name="org.hibernate.impl.SessionImpl">
<priority value="DEBUG"/>
</category>
<category name="org.hibernate.event.def.AbstractFlushingEventListener">
<priority value="DEBUG"/>
</category>
-->
<root>
<priority value="INFO"/>
<appender-ref ref="CONSOLE"/>
</root>
</log4j:configuration>