[jarti-commits] SF.net SVN: jarti: [640] commons/trunk/codebase/resources/jar/etc/log4j. properties
Status: Beta
Brought to you by:
tpokorny
From: <tpo...@us...> - 2007-04-14 13:33:35
|
Revision: 640 http://svn.sourceforge.net/jarti/?rev=640&view=rev Author: tpokorny Date: 2007-04-14 06:33:34 -0700 (Sat, 14 Apr 2007) Log Message: ----------- COM-??: Removed the default log4j configuration file from the jar file (it isn't needed) Removed Paths: ------------- commons/trunk/codebase/resources/jar/etc/log4j.properties Deleted: commons/trunk/codebase/resources/jar/etc/log4j.properties =================================================================== --- commons/trunk/codebase/resources/jar/etc/log4j.properties 2007-04-14 10:11:12 UTC (rev 639) +++ commons/trunk/codebase/resources/jar/etc/log4j.properties 2007-04-14 13:33:34 UTC (rev 640) @@ -1,127 +0,0 @@ -############################################################# -################### logging configuration ################### -############################################################# - -######################## APPENDERS ########################## -log4j.appender.STDOUT = org.apache.log4j.ConsoleAppender -log4j.appender.STDOUT.Target = System.out -log4j.appender.STDOUT.layout = org.apache.log4j.PatternLayout -log4j.appender.STDOUT.layout.ConversionPattern = %-5p [%t] %c: %m%n - -log4j.appender.FILE = org.apache.log4j.RollingFileAppender -log4j.appender.FILE.layout = org.apache.log4j.PatternLayout -log4j.appender.FILE.layout.ConversionPattern = %-5p [%t] %c: %m%n -log4j.appender.FILE.File = log.log -log4j.appender.FILE.MaxFileSize = 10240KB -log4j.appender.FILE.MaxBackupIndex = 2 -log4j.appender.FILE.Append = true - -######################### LOGGERS ########################### -# The root logger is given the lowest level we want, DEBUG. # -# Both the file and stderr are attached to it so both # -# should have messages written out to the same level (the # -# level the root logger is set to, DEBUG in this case). # -# However, we want messages of level DEBUG to go into the # -# log file, but on the console we only want to see messages # -# of level INFO and higher. This is achieved by setting the # -# Threshold of the STDOUT appender to the appropriate level # -############################################################# -log4j.rootLogger = ERROR, FILE, STDOUT - -# application logger configuration -log4j.logger.mylogger = INFO - -######################## REFERENCE ########################## -!-----------------------------------------------------------------------------! -! PATTERN FORMATS GLOSSARY ! -!-----------------------------------------------------------------------------! -! %n - newline ! -! %m - your log message ! -! %p - message priority (FATAL, ERROR, WARN, INFO, DEBUG or custom) ! -! %r - millisecs since program started running ! -! %% - percent sign in output ! -! ! -!-----------------------SOME MORE CLUTTER IN YOUR LOG-------------------------! -! %c - name of your category (logger), %c{2} will outputs last two components ! -! %t - name of current thread ! -! %x - Nested Diagnostic Context (NDC) (you supply it!) ! -! ! -!-------------------------SLOW PERFORMANCE FORMATS----------------------------! -! %d - date and time, also %d{ISO8601}, %d{DATE}, %d{ABSOLUTE}, ! -! %d{HH:mm:ss,SSS}, %d{dd MMM yyyy HH:mm:ss,SSS} and so on ! -! %l - Shortcut for %F%L%C%M ! -! %F - Java source file name ! -! %L - Java source line number ! -! %C - Java class name, %C{1} will output the last one component ! -! %M - Java method name ! -! ! -!------------------------------FORMAT MODIFIERS-------------------------------! -! %-any_letter_above - Left-justify in min. width (default is right-justify) ! -! %20any_letter_above - 20 char. min. width (pad with spaces if reqd.) ! -! %.30any_letter_above - 30 char. max. width (truncate beginning if reqd.) ! -! %-10.10r - Example. Left-justify time elapsed within 10-wide field. ! -! Truncate from beginning if wider than 10 characters. ! -!-----------------------------------------------------------------------------! - - -!-----------------------------------------------------------------------------! -! OPTIONS GLOSSARY ! -!-----------------------------------------------------------------------------! -!-------------------------OVERALL OPTIONS FOR log4j---------------------------! -! Specify as command line option: -Dlog4j.defaultInitOverride=false -! Specify as command line option: -Dlog4j.configuration=app_config.properties -!#log4j.debug=true -!#log4j.disable=INFO -!#log4j.disableOverride=false -!#log4j.additivity.your.category.name=false -! -!----------------------------NullAppender OPTIONS-----------------------------! -!#log4j.appender.dest1.Threshold=INFO -! -!---------------------------ConsoleAppender OPTIONS---------------------------! -!#log4j.appender.dest1.Threshold=INFO -!#log4j.appender.dest1.ImmediateFlush=true -!#log4j.appender.dest1.Target=System.err -! -!-----------------------------FileAppender OPTIONS----------------------------! -!#log4j.appender.dest2.Threshold=INFO -!#log4j.appender.dest2.ImmediateFlush=true -!#log4j.appender.dest2.File=mylog.txt -!#log4j.appender.dest2.Append=false -! -!-------------------------RollingFileAppender OPTIONS-------------------------! -!#log4j.appender.dest2.Threshold=INFO -!#log4j.appender.dest2.ImmediateFlush=true -!#log4j.appender.dest2.File=mylog.txt -!#log4j.appender.dest2.Append=false -!#log4j.appender.dest2.MaxFileSize=100KB -!#log4j.appender.dest2.MaxBackupIndex=2 -! -!-----------------------DailyRollingFileAppender OPTIONS----------------------! -!#log4j.appender.dest2.Threshold=INFO -!#log4j.appender.dest2.ImmediateFlush=true -!#log4j.appender.dest2.File=mylog.txt -!#log4j.appender.dest2.Append=false -!#log4j.appender.dest2.DatePattern='.'yyyy-ww -! -!-----------------------------SimpleLayout OPTIONS----------------------------! -!**None** -! -!-------------TTCCLayout OPTIONS (PatternLayout is more flexible)-------------! -!#log4j.appender.dest1.layout.DateFormat=ISO8601 -!#log4j.appender.dest1.layout.TimeZoneID=GMT-8:00 -!#log4j.appender.dest1.layout.CategoryPrefixing=false -!#log4j.appender.dest1.layout.ThreadPrinting=false -!#log4j.appender.dest1.layout.ContextPrinting=false -! -!-----------------------------PatternLayout OPTIONS---------------------------! -!#log4j.appender.dest1.layout.ConversionPattern=%m%n -! -!-------------------------------HTMLLayout OPTIONS----------------------------! -!#log4j.appender.dest3.layout.LocationInfo=true -!#log4j.appender.dest3.layout.Title=My app title -! -!--------------------------------XMLLayout OPTIONS----------------------------! -!#log4j.appender.dest3.layout.LocationInfo=true -!-----------------------------------------------------------------------------! - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |