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 AC29C1097D for ; Wed, 5 Jun 2013 07:56:17 +0000 (UTC) Received: (qmail 53019 invoked by uid 500); 5 Jun 2013 07:56:17 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 52992 invoked by uid 500); 5 Jun 2013 07:56:11 -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 52978 invoked by uid 99); 5 Jun 2013 07:56:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 07:56:10 +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, 05 Jun 2013 07:56:07 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 474D82388906; Wed, 5 Jun 2013 07:55:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1489735 - /logging/log4net/trunk/src/site/xdoc/release/config-examples.xml Date: Wed, 05 Jun 2013 07:55:47 -0000 To: commits@logging.apache.org From: dpsenner@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130605075547.474D82388906@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dpsenner Date: Wed Jun 5 07:55:46 2013 New Revision: 1489735 URL: http://svn.apache.org/r1489735 Log: LOG4NET-316 added a configuration example that explains the usage of DynamicPatternLayout Modified: logging/log4net/trunk/src/site/xdoc/release/config-examples.xml Modified: logging/log4net/trunk/src/site/xdoc/release/config-examples.xml URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/site/xdoc/release/config-examples.xml?rev=1489735&r1=1489734&r2=1489735&view=diff ============================================================================== --- logging/log4net/trunk/src/site/xdoc/release/config-examples.xml (original) +++ logging/log4net/trunk/src/site/xdoc/release/config-examples.xml Wed Jun 5 07:55:46 2013 @@ -1082,6 +1082,27 @@ CREATE TABLE Log ( ]]> + +
+

+ For full details see the SDK Reference entry: log4net.Layout.DynamicPatternLayout. +

+

+ The DynamicPatternLayout should be used whenever the header or footer should contain information that could change over time. + Compared to the static PatternLayout which does not re-evaluate on every invoke, the DynamicPatternLayout + does re-evaluate the pattern on every invoke. It does, for example, allow to include the current DateTime in the header and/or the footer which was not possible + with the static PatternLayout. +

+

+ The following example shows how to configure the DynamicPatternLayout. +

+ + + + + ]]> +