You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2016/01/31 13:03:16 UTC

svn commit: r1727798 - /pdfbox/trunk/preflight/src/test/resources/log4j.xml

Author: tilman
Date: Sun Jan 31 12:03:15 2016
New Revision: 1727798

URL: http://svn.apache.org/viewvc?rev=1727798&view=rev
Log:
PDFBOX-3219: correct log4j.xml, as suggested by Roberto Niballi

Modified:
    pdfbox/trunk/preflight/src/test/resources/log4j.xml

Modified: pdfbox/trunk/preflight/src/test/resources/log4j.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/test/resources/log4j.xml?rev=1727798&r1=1727797&r2=1727798&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/test/resources/log4j.xml (original)
+++ pdfbox/trunk/preflight/src/test/resources/log4j.xml Sun Jan 31 12:03:15 2016
@@ -16,10 +16,14 @@
  ! limitations under the License.
  !-->
 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-<log4j:configuration>
+<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
+    <appender name="console" class="org.apache.log4j.ConsoleAppender">
+        <layout class="org.apache.log4j.PatternLayout">
+            <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %-5p %C:%L - %m%n" />
+        </layout>
+    </appender>
     <root>
-        <priority value ="off" />
+        <level value="WARN" />
         <appender-ref ref="console" />
-        <appender-ref ref="rolling-file" />
     </root>
 </log4j:configuration>
\ No newline at end of file