summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2007-04-30 21:00:47 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2007-04-30 21:00:47 +0000
commit9e23314c6c80e8834fd1a71e60a3ce238844b0e3 (patch)
tree9424cd778fbd1c925075b47a869b7455567c06fb /net-news/nntprss/files/log4j.properties
parentRemoved experimental octopussy ebuild. the tool is too bloated. (diff)
downloadoverlay-9e23314c6c80e8834fd1a71e60a3ce238844b0e3.tar.gz
overlay-9e23314c6c80e8834fd1a71e60a3ce238844b0e3.tar.bz2
overlay-9e23314c6c80e8834fd1a71e60a3ce238844b0e3.zip
Added nntprss to the stable overlay. Still using this tool successfully.
svn path=/stable/; revision=804
Diffstat (limited to 'net-news/nntprss/files/log4j.properties')
-rw-r--r--net-news/nntprss/files/log4j.properties22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-news/nntprss/files/log4j.properties b/net-news/nntprss/files/log4j.properties
new file mode 100644
index 0000000..b9401d8
--- /dev/null
+++ b/net-news/nntprss/files/log4j.properties
@@ -0,0 +1,22 @@
+# Set root logger level to DEBUG and its only appender to CONSOLE.
+log4j.rootLogger=DEBUG, CONSOLE, FILE
+
+# Only log INFO and higher for wire class
+log4j.logger.httpclient.wire=INFO
+
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.FILE=org.apache.log4j.RollingFileAppender
+
+# Both CONSOLE and FILE use PatternLayout.
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %c{1} - %m%n
+
+log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.FILE.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %c{1} - %m%n
+log4j.appender.FILE.File=/var/log/nntprss.log
+log4j.appender.FILE.Append=false
+log4j.appender.FILE.MaxFileSize=500KB
+log4j.appender.FILE.MaxBackupIndex=1
+log4j.appender.FILE.Threshold=INFO
+
+