aboutsummaryrefslogtreecommitdiffstats
path: root/src/resources/devtools/complete-log4j.properties
diff options
context:
space:
mode:
authorNicola Ken Barozzi <nicolaken@apache.org>2002-06-11 21:07:58 +0000
committerNicola Ken Barozzi <nicolaken@apache.org>2002-06-11 21:07:58 +0000
commit48a94a3d0f156d780cc8c15eb9a870e246d81aea (patch)
tree4628bb1a4be082ac7ba2ad3a1cbfd99ade66181e /src/resources/devtools/complete-log4j.properties
parentce21eea4bbbdc3b8d659a7a925de967f524a0e5b (diff)
downloadpoi-48a94a3d0f156d780cc8c15eb9a870e246d81aea.tar.gz
poi-48a94a3d0f156d780cc8c15eb9a870e246d81aea.zip
Removed runtime dependency from commons logging.
Now the PoiLogFactory will try to create a logger using the System property named "org.apache.poi.util.POILogger". If it fails, the NullLogger is used. There is also a basic SystemOutLogger and the former CommonsLogger. Haven't checked the code that much, but it compiles and POI works. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352672 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/resources/devtools/complete-log4j.properties')
-rw-r--r--src/resources/devtools/complete-log4j.properties31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/resources/devtools/complete-log4j.properties b/src/resources/devtools/complete-log4j.properties
new file mode 100644
index 0000000000..1eef6c2488
--- /dev/null
+++ b/src/resources/devtools/complete-log4j.properties
@@ -0,0 +1,31 @@
+#log4j.rootCategory=debug, globalLog
+log4j.category.org.apache.poi.hssf=debug, hssfLog
+log4j.category.org.apache.poi.hdf=debug, hdfLog
+log4j.category.org.apache.poi.hpsf=debug, hpsfLog
+log4j.category.org.apache.poi.poifs=debug, poifsLog
+log4j.category.org.apache.poi.util=debug, utilLog
+
+log4j.appender.hssfLog=org.apache.log4j.FileAppender
+log4j.appender.hssfLog.File=build/hssf.log
+log4j.appender.hssfLog.layout=org.apache.log4j.PatternLayout
+log4j.appender.hssfLog.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+log4j.appender.hdfLog=org.apache.log4j.FileAppender
+log4j.appender.hdfLog.File=build/hdf.log
+log4j.appender.hdfLog.layout=org.apache.log4j.PatternLayout
+log4j.appender.hdfLog.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+log4j.appender.hpsfLog=org.apache.log4j.FileAppender
+log4j.appender.hpsfLog.File=build/hpsf.log
+log4j.appender.hpsfLog.layout=org.apache.log4j.PatternLayout
+log4j.appender.hpsfLog.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+log4j.appender.poifsLog=org.apache.log4j.FileAppender
+log4j.appender.poifsLog.File=build/poifs.log
+log4j.appender.poifsLog.layout=org.apache.log4j.PatternLayout
+log4j.appender.poifsLog.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+log4j.appender.utilLog=org.apache.log4j.FileAppender
+log4j.appender.utilLog.File=build/util.log
+log4j.appender.utilLog.layout=org.apache.log4j.PatternLayout
+log4j.appender.utilLog.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n