Skip to content

Commit

Permalink
MAHOUT-1522: Handle logging levels via log4j.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmusselman committed Mar 31, 2015
1 parent edec611 commit c0f44b7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/conf/log4j.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender class="org.apache.log4j.ConsoleAppender" name="console">
<param value="System.err" name="target"/>
<layout class="org.apache.log4j.PatternLayout">
<param value="%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n" name="ConversionPattern"/>
</layout>
</appender>
<!-- Change the level below to adjust logging levels. -->
<root>
<level value="info"/>
<appender-ref ref="console"/>
</root>
</log4j:configuration>

0 comments on commit c0f44b7

Please sign in to comment.