Add LOG4J2 domain to the Log4j 2.x agent
[lttng-ust.git] / doc / examples / java-log4j2-ctx / log4j2.ctx1.xml
index 52ad5a7ccbb08788e1d6a8543fc32ced20f8cc04..5606e452dbd5322a5d3a777a589cf531cd0ae267 100644 (file)
@@ -4,13 +4,15 @@
     <Console name="Console" target="SYSTEM_OUT">
       <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
     </Console>
-    <Lttng name="Lttng" domain="LOG4J">
+    <Lttng name="Lttng1" domain="LOG4J">
+    <Lttng name="Lttng2" domain="LOG4J2">
     </Lttng>
   </Appenders>
   <Loggers>
     <Root level="debug">
       <AppenderRef ref="Console"/>
-      <AppenderRef ref="Lttng"/>
+      <AppenderRef ref="Lttng1"/>
+      <AppenderRef ref="Lttng2"/>
     </Root>
   </Loggers>
 </Configuration>
This page took 0.02326 seconds and 4 git commands to generate.