[vlma-devel] commit: Daemon: Non specific log4j configuration. (Adrien Grand )
git version control
git at videolan.org
Sun Apr 13 02:48:58 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sun Apr 13 01:35:33 2008 +0200| [ec6de1e68b8152ff616e2ac3d8e757be21013c03]
Daemon: Non specific log4j configuration.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=ec6de1e68b8152ff616e2ac3d8e757be21013c03
---
daemon/src/main/resources/log4j.xml | 23 +++--------------------
1 files changed, 3 insertions(+), 20 deletions(-)
diff --git a/daemon/src/main/resources/log4j.xml b/daemon/src/main/resources/log4j.xml
index 6d46b9b..3f7a0ee 100644
--- a/daemon/src/main/resources/log4j.xml
+++ b/daemon/src/main/resources/log4j.xml
@@ -1,37 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
+
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<param name="threshold" value="DEBUG" />
<layout class="org.apache.log4j.SimpleLayout" />
</appender>
-<!-- <appender name="web" class="org.apache.log4j.FileAppender">
- <param name="threshold" value="DEBUG" />
- <param name="encoding" value="utf-8" />
- <param name="file" value="/home/sylv/workspace/log.html" />
- <layout class="org.apache.log4j.HTMLLayout"/>
- </appender>
--->
<appender name="var-log" class="org.apache.log4j.RollingFileAppender">
<param name="threshold" value="INFO"/>
<param name="file" value="/var/log/vlma/vlma.log" />
<layout class="org.apache.log4j.SimpleLayout"/>
</appender>
- <appender name="mail" class="org.apache.log4j.net.SMTPAppender">
- <param name="SMTPHost" value="smtp.via.ecp.fr" />
- <param name="From" value="VLMa" />
- <param name="To" value="sylv at via.ecp.fr" />
- <param name="Subject" value="VLMa Problème" />
- <layout class="org.apache.log4j.SimpleLayout"/>
- </appender>
- <logger name="mailer">
- <level value="debug" />
- <appender-ref ref="mail" />
- </logger>
<root>
- <level value="debug" />
+ <level value="DEBUG" />
<appender-ref ref="console" />
<appender-ref ref="var-log" />
- <appender-ref ref="web" />
</root>
</log4j:configuration>
More information about the vlma-devel
mailing list