Added log4j support to the log wrapper. It is enabled if the log4j

configuration system property is set (and a particular logger is not
specifically configured).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2315 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2008-05-28 18:02:37 +00:00
parent 301a695cd8
commit 84597c3b99
5 changed files with 104 additions and 1 deletions
+4
View File
@@ -70,6 +70,10 @@
<available property="junit.present" classpathref="classpath"
classname="junit.framework.Test"/>
<echo level="info">JUnit: ${junit.present}</echo>
<available property="log4j.present" classpathref="classpath"
classname="org.apache.log4j.Logger"/>
<echo level="info">log4j: ${log4j.present}</echo>
</target>
<!-- combines package availability into build controls -->
+1
View File
@@ -10,6 +10,7 @@
<include name="ehcache-1.2.jar"/>
<include name="junit-3.7.jar"/>
<include name="junit4.jar"/>
<include name="log4j.jar"/>
<include name="mail.jar"/>
<include name="servlet-api.jar"/>
<include name="velocity-1.5-dev.jar"/>