From commits-return-490-apmail-logging-commits-archive=logging.apache.org@logging.apache.org Wed Feb 15 09:18:19 2012 Return-Path: X-Original-To: apmail-logging-commits-archive@minotaur.apache.org Delivered-To: apmail-logging-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F11D79932 for ; Wed, 15 Feb 2012 09:18:18 +0000 (UTC) Received: (qmail 12153 invoked by uid 500); 15 Feb 2012 09:18:18 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 12120 invoked by uid 500); 15 Feb 2012 09:18:18 -0000 Mailing-List: contact commits-help@logging.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@logging.apache.org Delivered-To: mailing list commits@logging.apache.org Received: (qmail 12109 invoked by uid 99); 15 Feb 2012 09:18:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 09:18:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 09:18:17 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EAEDE2388865; Wed, 15 Feb 2012 09:17:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1244410 - /logging/log4php/trunk/src/site/xdoc/docs/loggers.xml Date: Wed, 15 Feb 2012 09:17:57 -0000 To: commits@logging.apache.org From: ihabunek@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120215091757.EAEDE2388865@eris.apache.org> Author: ihabunek Date: Wed Feb 15 09:17:57 2012 New Revision: 1244410 URL: http://svn.apache.org/viewvc?rev=1244410&view=rev Log: Minor documentation fix for loggers. Modified: logging/log4php/trunk/src/site/xdoc/docs/loggers.xml Modified: logging/log4php/trunk/src/site/xdoc/docs/loggers.xml URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/docs/loggers.xml?rev=1244410&r1=1244409&r2=1244410&view=diff ============================================================================== --- logging/log4php/trunk/src/site/xdoc/docs/loggers.xml (original) +++ logging/log4php/trunk/src/site/xdoc/docs/loggers.xml Wed Feb 15 09:17:57 2012 @@ -51,20 +51,20 @@

For example, setting logger threshold to INFO means that logging requests with levels TRACE and DEBUG will not be logged by this logger.

-

An example of setting the root logger threshold to DEBUG:

+

An example of setting the root logger threshold to INFO:


     
     
-        
+        
         
     
 
 ]]>
-

By default loggers do not have a threshold set, which means they will log all events, regardless of the - level.

+

If not explicitly configured, loggers will have their threshold level set to DEBUG by + default.

@@ -77,13 +77,13 @@ - + ]]>

This configuration adds the default appender to the root logger, and sets it's - threshold level to DEBUG.

+ threshold level to INFO.

It is also possible to configure individual named loggers. For example, let's configure the foo logger, used in the example above, and set it's threshold to WARN: