diff options
author | Nicola Ken Barozzi <nicolaken@apache.org> | 2002-06-11 21:07:58 +0000 |
---|---|---|
committer | Nicola Ken Barozzi <nicolaken@apache.org> | 2002-06-11 21:07:58 +0000 |
commit | 48a94a3d0f156d780cc8c15eb9a870e246d81aea (patch) | |
tree | 4628bb1a4be082ac7ba2ad3a1cbfd99ade66181e /src/resources/devtools | |
parent | ce21eea4bbbdc3b8d659a7a925de967f524a0e5b (diff) | |
download | poi-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')
-rw-r--r-- | src/resources/devtools/complete-log4j.properties (renamed from src/resources/devtools/log4j.properties) | 0 | ||||
-rw-r--r-- | src/resources/devtools/fatal-only-log4j.properties | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/resources/devtools/log4j.properties b/src/resources/devtools/complete-log4j.properties index 1eef6c2488..1eef6c2488 100644 --- a/src/resources/devtools/log4j.properties +++ b/src/resources/devtools/complete-log4j.properties diff --git a/src/resources/devtools/fatal-only-log4j.properties b/src/resources/devtools/fatal-only-log4j.properties new file mode 100644 index 0000000000..404b985295 --- /dev/null +++ b/src/resources/devtools/fatal-only-log4j.properties @@ -0,0 +1,12 @@ +# Set root logger level to FATAL and its only appender to stdout +log4j.rootLogger=FATAL, stdout +log4j.category.org=FATAL, stdout + +# stdout is set to be a ConsoleAppender. +log4j.appender.stdout=org.apache.log4j.ConsoleAppender + +# stdout uses PatternLayout. +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n + + |