forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r356802 - /forrest/trunk/tools/forrestbot/webapp/src/conf/log4j.properties
Date Wed, 14 Dec 2005 16:47:17 GMT
Author: rgardler
Date: Wed Dec 14 08:47:09 2005
New Revision: 356802

URL: http://svn.apache.org/viewcvs?rev=356802&view=rev
Log:
more detailed log message

Modified:
    forrest/trunk/tools/forrestbot/webapp/src/conf/log4j.properties

Modified: forrest/trunk/tools/forrestbot/webapp/src/conf/log4j.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbot/webapp/src/conf/log4j.properties?rev=356802&r1=356801&r2=356802&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbot/webapp/src/conf/log4j.properties (original)
+++ forrest/trunk/tools/forrestbot/webapp/src/conf/log4j.properties Wed Dec 14 08:47:09 2005
@@ -14,14 +14,16 @@
 # limitations under the License.
 
 #log4j.rootLogger=DEBUG, socket, stdout
-log4j.rootLogger=WARN, stdout
+log4j.rootLogger=WARN, stdout, file
 
 # keep other log messages to a minimum
 log4j.logger.org.apache.struts=ERROR
 log4j.logger.org.apache.commons=ERROR
 
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+# Pattern to output the caller's file name and line number.
+log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
 
 log4j.appender.socket=org.apache.log4j.net.SocketAppender
 log4j.appender.socket.RemoteHost=localhost



Mime
View raw message