diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-29 04:52:52 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:50 +0100 |
commit | 53bd23d0e679746b78d0bcf9234e7b99983e6071 (patch) | |
tree | 51dd89aba98e57c026046fdfbe25ba72aab974a6 /log4cpp.property | |
parent | a9c3f18ebc1dbb1de5c7c9d1585347ed25cc2b52 (diff) | |
download | usdx-53bd23d0e679746b78d0bcf9234e7b99983e6071.tar.gz usdx-53bd23d0e679746b78d0bcf9234e7b99983e6071.tar.xz usdx-53bd23d0e679746b78d0bcf9234e7b99983e6071.zip |
ported from log4cxx to log4cpp
log4cxx depends on Apache Portable Runtime Utility Library, so we
switch to log4cpp with nearly the same features but with no
dependencies for easier porting to other platforms
Diffstat (limited to '')
-rw-r--r-- | log4cpp.property | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/log4cpp.property b/log4cpp.property new file mode 100644 index 00000000..4bcad324 --- /dev/null +++ b/log4cpp.property @@ -0,0 +1,15 @@ +log4cpp.rootCategory=DEBUG,console +log4cpp.category.usdx=,roll + +log4cpp.appender.console=org.apache.log4j.ConsoleAppender +log4cpp.appender.console.layout=org.apache.log4j.PatternLayout +log4cpp.appender.console.layout.ConversionPattern=%-6r [%-5p] %c - %m%n +log4cpp.appender.console.threshold=ERROR + +log4cpp.appender.roll=org.apache.log4j.rolling.RollingFileAppender +log4cpp.apperder.roll.maximumFileSize=400KB +log4cpp.apperder.roll.maxBackupIndex=4 +log4cpp.appender.roll.fileName=debug.log +log4cpp.appender.roll.append=true +log4cpp.appender.roll.layout=org.apache.log4j.PatternLayout +log4cpp.appender.roll.layout.ConversionPattern=%-6r [%-5p] %c - %m%n |