Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1332bac61c734ea30d67eb8302de83ec990ab1a2 (plain) (blame)
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
<configuration>
	
	<appender name="localized-console" class="ch.qos.logback.core.ConsoleAppender">
		<layout class="ch.qos.logback.classic.PatternLayout">
			<Pattern>Localized: %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
    	</layout>
  	</appender>
  	
  	<appender name="default-console" class="ch.qos.logback.core.ConsoleAppender">
		<layout class="ch.qos.logback.classic.PatternLayout">
			<Pattern>Default:   %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
    	</layout>
  	</appender>
  	
  	<appender name="root-console" class="ch.qos.logback.core.ConsoleAppender">
		<layout class="ch.qos.logback.classic.PatternLayout">
			<Pattern>Root: [%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread %msg %ex%n</Pattern>
    	</layout>
  	</appender>
  	
  	<appender name="root-stub" class="org.eclipse.virgo.medic.log.appender.StubAppender"/>
  	
  	<appender name="default-stub" class="org.eclipse.virgo.medic.log.appender.StubAppender"/>		
  	
  	<appender name="localized-stub" class="org.eclipse.virgo.medic.log.appender.StubAppender"/>		    
  	    
  	<logger name="org.eclipse.virgo.medic.eventlog.localized">
    	<appender-ref ref="localized-console" />
    	<appender-ref ref="localized-stub" />
    </logger>
    
    <logger name="org.eclipse.virgo.medic.eventlog.default">
    	<appender-ref ref="default-console" />
    	<appender-ref ref="default-stub" />
    </logger>
    
    <root level="debug">
		<appender-ref ref="root-stub"/>
		<appender-ref ref="root-console"/>
	</root>
    
</configuration>

Back to the top