[logback-dev] svn commit: r890 - logback/trunk/logback-examples/src/main/java/chapter4/conf

noreply.seb at qos.ch noreply.seb at qos.ch
Thu Nov 9 17:23:01 CET 2006


Author: seb
Date: Thu Nov  9 17:23:01 2006
New Revision: 890

Modified:
   logback/trunk/logback-examples/src/main/java/chapter4/conf/logback-syslog.xml

Log:
syslog config tested

Modified: logback/trunk/logback-examples/src/main/java/chapter4/conf/logback-syslog.xml
==============================================================================
--- logback/trunk/logback-examples/src/main/java/chapter4/conf/logback-syslog.xml	(original)
+++ logback/trunk/logback-examples/src/main/java/chapter4/conf/logback-syslog.xml	Thu Nov  9 17:23:01 2006
@@ -1,15 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <configuration>
 
   <appender name="SYSLOG"
     class="ch.qos.logback.classic.net.SyslogAppender">
-    <SyslogHost>pixie</SyslogHost>
-    <Facility>AUTH</Facility>
+    <SyslogHost>${syslogHost}</SyslogHost>
+    <Facility>${facility}</Facility>
     <SuffixPattern>%-4relative [%thread] %-5level - %msg</SuffixPattern>
   </appender>
-
-  <root>
-    <level value="debug" />
-    <appender-ref ref="STDOUT" />
-  </root>
+	
+	<root>
+		<level value="DEBUG" />
+		<appender-ref ref="SYSLOG" />
+	</root>
 </configuration>
 



More information about the logback-dev mailing list