jvanzyl 01/06/14 11:27:54
Modified: conf TurbineResources.properties
conf/master TurbineResources.master
Log:
- adding note about the use of ${webapp} in the log4j properties,
it's not a mistake that it is there.
- matching our standard log format.
Revision Changes Path
1.116 +10 -3 jakarta-turbine/conf/TurbineResources.properties
Index: TurbineResources.properties
===================================================================
RCS file: /home/cvs/jakarta-turbine/conf/TurbineResources.properties,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- TurbineResources.properties 2001/06/14 18:19:02 1.115
+++ TurbineResources.properties 2001/06/14 18:27:30 1.116
@@ -1,5 +1,5 @@
# -------------------------------------------------------------------
-# $Id: TurbineResources.properties,v 1.115 2001/06/14 18:19:02 jvanzyl Exp $
+# $Id: TurbineResources.properties,v 1.116 2001/06/14 18:27:30 jvanzyl Exp $
#
# This is the configuration file for Turbine.
#
@@ -15,6 +15,13 @@
# -------------------------------------------------------------------
# We use Log4J for all Turbine logging and we embed the log4j
# properties within our application configuration.
+#
+# NOTE:
+# The presence of ${webapp} in the logging configuration
+# is not a mistake. Internally the value of ${webapp}
+# is set so that you can use it with standard log4j
+# properties to get logs to appear in your
+# webapp space.
# -------------------------------------------------------------------
# This first category is required and the category
@@ -25,7 +32,7 @@
log4j.appender.default = org.apache.log4j.FileAppender
log4j.appender.default.file = ${webapp}/logs/turbine.log
log4j.appender.default.layout = org.apache.log4j.PatternLayout
-log4j.appender.default.layout.conversionPattern = %5r %-5p [%t] %c{2} - %m%n
+log4j.appender.default.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.default.append = false
# This category is used in the BasePeer class. All
@@ -36,7 +43,7 @@
log4j.appender.sql = org.apache.log4j.FileAppender
log4j.appender.sql.file = ${webapp}/logs/sql.log
log4j.appender.sql.layout = org.apache.log4j.PatternLayout
-log4j.appender.sql.layout.conversionPattern = %5r %-5p [%t] %c{2} - %m%n
+log4j.appender.sql.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.sql.append = false
# -------------------------------------------------------------------
1.81 +10 -3 jakarta-turbine/conf/master/TurbineResources.master
Index: TurbineResources.master
===================================================================
RCS file: /home/cvs/jakarta-turbine/conf/master/TurbineResources.master,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- TurbineResources.master 2001/06/14 18:19:11 1.80
+++ TurbineResources.master 2001/06/14 18:27:47 1.81
@@ -1,5 +1,5 @@
# -------------------------------------------------------------------
-# $Id: TurbineResources.master,v 1.80 2001/06/14 18:19:11 jvanzyl Exp $
+# $Id: TurbineResources.master,v 1.81 2001/06/14 18:27:47 jvanzyl Exp $
#
# This is the configuration file for Turbine.
#
@@ -15,6 +15,13 @@
# -------------------------------------------------------------------
# We use Log4J for all Turbine logging and we embed the log4j
# properties within our application configuration.
+#
+# NOTE:
+# The presence of ${webapp} in the logging configuration
+# is not a mistake. Internally the value of ${webapp}
+# is set so that you can use it with standard log4j
+# properties to get logs to appear in your
+# webapp space.
# -------------------------------------------------------------------
# This first category is required and the category
@@ -25,7 +32,7 @@
log4j.appender.default = org.apache.log4j.FileAppender
log4j.appender.default.file = ${webapp}/logs/turbine.log
log4j.appender.default.layout = org.apache.log4j.PatternLayout
-log4j.appender.default.layout.conversionPattern = %5r %-5p [%t] %c{2} - %m%n
+log4j.appender.default.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.default.append = false
# This category is used in the BasePeer class. All
@@ -36,7 +43,7 @@
log4j.appender.sql = org.apache.log4j.FileAppender
log4j.appender.sql.file = ${webapp}/logs/sql.log
log4j.appender.sql.layout = org.apache.log4j.PatternLayout
-log4j.appender.sql.layout.conversionPattern = %5r %-5p [%t] %c{2} - %m%n
+log4j.appender.sql.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.sql.append = false
# -------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]