directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1506443 - /directory/site/trunk/content/apacheds/advanced-ug/5.3-logs.mdtext
Date Wed, 24 Jul 2013 08:40:57 GMT
Author: pamarcelot
Date: Wed Jul 24 08:40:57 2013
New Revision: 1506443

URL: http://svn.apache.org/r1506443
Log:
Testing code layout.

Modified:
    directory/site/trunk/content/apacheds/advanced-ug/5.3-logs.mdtext

Modified: directory/site/trunk/content/apacheds/advanced-ug/5.3-logs.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/apacheds/advanced-ug/5.3-logs.mdtext?rev=1506443&r1=1506442&r2=1506443&view=diff
==============================================================================
--- directory/site/trunk/content/apacheds/advanced-ug/5.3-logs.mdtext (original)
+++ directory/site/trunk/content/apacheds/advanced-ug/5.3-logs.mdtext Wed Jul 24 08:40:57
2013
@@ -24,7 +24,53 @@ Notice: Licensed to the Apache Software 
 
 We use SLF4J as a facade for logs, and Log4J in the standalone server. 
 
-The logs can be configured by modifiying the log4j.properties file which can be found in
the _conf_ directory (see the previous chapter 5.1). Here is a simple example of configuration
:
+The logs can be configured by modifiying the log4j.properties file which can be found in
the _conf_ directory (see the previous chapter 5.1). Here is the Log4J configuration that
comes with ApacheDS:
 
     :::Text
-    
\ No newline at end of file
+    #############################################################################
+    #    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.rootCategory=WARN, R, stdout
+
+    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+
+    log4j.appender.R=org.apache.log4j.RollingFileAppender
+    log4j.appender.R.File=${apacheds.log.dir}/apacheds.log
+
+    log4j.appender.R.MaxFileSize=1024KB
+    # Keep some backup files
+    log4j.appender.R.MaxBackupIndex=5
+
+    log4j.appender.R.layout=org.apache.log4j.PatternLayout
+    log4j.appender.R.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
+
+    log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
+
+    # with these we'll not get innundated when switching to DEBUG
+    log4j.logger.jdbm.recman.BaseRecordManager=FATAL
+    log4j.logger.org.apache.directory.server.OPERATIONS_LOG=FATAL
+    log4j.logger.org.apache.directory.server.OPERATION_TIME=FATAL
+    log4j.logger.org.apache.directory.api.CODEC_LOG=FATAL
+    log4j.logger.org.apache.directory.server.ACI_LOG=FATAL
+    log4j.logger.org.apache.directory.server.PROVIDER_LOG=FATAL
+    log4j.logger.org.apache.directory.server.CONSUMER_LOG=FATAL
+    log4j.logger.org.apache.directory.CURSOR_LOG=FATAL
+    log4j.logger.org.apache.directory.api=FATAL
+    log4j.logger.org.apache.directory.server=FATAL
+    log4j.logger.net.sf.ehcache=FATAL
+    log4j.logger.org.apache.mina=FATAL
+



Mime
View raw message