You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2007/07/27 17:34:33 UTC

svn commit: r560275 - /roller/trunk/apps/weblogger/web/WEB-INF/classes/log4j.properties

Author: snoopdave
Date: Fri Jul 27 08:34:32 2007
New Revision: 560275

URL: http://svn.apache.org/viewvc?view=rev&rev=560275
Log:
Futher tweaks to ROL-1491: without a minimal Log4j config we will miss some startup errors

Added:
    roller/trunk/apps/weblogger/web/WEB-INF/classes/log4j.properties

Added: roller/trunk/apps/weblogger/web/WEB-INF/classes/log4j.properties
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/classes/log4j.properties?view=auto&rev=560275
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/classes/log4j.properties (added)
+++ roller/trunk/apps/weblogger/web/WEB-INF/classes/log4j.properties Fri Jul 27 08:34:32 2007
@@ -0,0 +1,31 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  The ASF licenses this file to You
+# under the Apache License, Version 2.0 (the "License"); you may not
+# use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.  For additional information regarding
+# copyright in this work, please see the NOTICE file in the top level
+# directory of this distribution.
+
+#
+# *** DO NO EDIT THIS FILE ***
+#
+# This is a bare bones Log4j setup that is present to catch any unexpected 
+# errors that occur before Roller is able to init the full logging sytem.
+#
+# The full Log4j setup is in Roller's built-in properties file and you should
+# customize it via your roller-custom.properties override file.
+#
+
+log4j.rootCategory=ERROR, roller-startup
+log4j.appender.roller-startup=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.roller-startup.File=roller-startup.log
+log4j.appender.roller-startup.layout=org.apache.log4j.PatternLayout
+log4j.appender.roller-startup.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %C{1}:%M - %m%n