Author: thorsten Date: Thu Sep 11 05:46:36 2008 New Revision: 694229 URL: http://svn.apache.org/viewvc?rev=694229&view=rev Log: Adding log4j config file - for now everything hardcoded
Added: forrest/trunk/whiteboard/dispatcher/java/log4j.properties (with props) Added: forrest/trunk/whiteboard/dispatcher/java/log4j.properties URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/dispatcher/java/log4j.properties?rev=694229&view=auto ============================================================================== --- forrest/trunk/whiteboard/dispatcher/java/log4j.properties (added) +++ forrest/trunk/whiteboard/dispatcher/java/log4j.properties Thu Sep 11 05:46:36 2008 @@ -0,0 +1,29 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# 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. + +log4j.rootLogger=debug, stdout, logfile + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n + +log4j.appender.logfile=org.apache.log4j.RollingFileAppender +log4j.appender.logfile.File=log.txt +log4j.appender.logfile.MaxFileSize=512KB +# Keep three backup files. +log4j.appender.logfile.MaxBackupIndex=3 +# Pattern to output: date priority [category] - message +log4j.appender.logfile.layout=org.apache.log4j.PatternLayout +log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n \ No newline at end of file Propchange: forrest/trunk/whiteboard/dispatcher/java/log4j.properties ------------------------------------------------------------------------------ svn:eol-style = native