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 27CF491DF for ; Sat, 18 Aug 2012 09:17:10 +0000 (UTC) Received: (qmail 28120 invoked by uid 500); 18 Aug 2012 09:17:10 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 28091 invoked by uid 500); 18 Aug 2012 09:17:10 -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 28082 invoked by uid 99); 18 Aug 2012 09:17:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Aug 2012 09:17:09 +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; Sat, 18 Aug 2012 09:17:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 86B1323888E4; Sat, 18 Aug 2012 09:16:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1374532 - in /logging/log4php/trunk/src: main/php/layouts/LoggerLayoutPattern.php site/xdoc/changelog.xml Date: Sat, 18 Aug 2012 09:16:19 -0000 To: commits@logging.apache.org From: ihabunek@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120818091619.86B1323888E4@eris.apache.org> Author: ihabunek Date: Sat Aug 18 09:16:19 2012 New Revision: 1374532 URL: http://svn.apache.org/viewvc?rev=1374532&view=rev Log: LoggerLayoutPattern: Made the default conversion pattern more verbose. Modified: logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php logging/log4php/trunk/src/site/xdoc/changelog.xml Modified: logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php?rev=1374532&r1=1374531&r2=1374532&view=diff ============================================================================== --- logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php (original) +++ logging/log4php/trunk/src/main/php/layouts/LoggerLayoutPattern.php Sat Aug 18 09:16:19 2012 @@ -33,7 +33,7 @@ class LoggerLayoutPattern extends LoggerLayout { /** Default conversion pattern */ - const DEFAULT_CONVERSION_PATTERN = '%m%n'; + const DEFAULT_CONVERSION_PATTERN = '%date %-5level %logger %message%newline'; /** Default conversion TTCC Pattern */ const TTCC_CONVERSION_PATTERN = '%d [%t] %p %c %x - %m%n'; Modified: logging/log4php/trunk/src/site/xdoc/changelog.xml URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/changelog.xml?rev=1374532&r1=1374531&r2=1374532&view=diff ============================================================================== --- logging/log4php/trunk/src/site/xdoc/changelog.xml (original) +++ logging/log4php/trunk/src/site/xdoc/changelog.xml Sat Aug 18 09:16:19 2012 @@ -29,7 +29,7 @@ - +

Release date: TBA

JIRA change log

@@ -40,18 +40,19 @@

Improvements:

    -
  • The pattern layout has been greatly improved: +
  • LoggerLayoutPatern has been greatly improved:
    • supports longer conversion words such as %date instead of %d, %message instead of %m, etc.
    • added many new conversion words; check out the docs for the full list
    • +
    • changed the default conversion pattern to be more verbose

Breaking changes:

    -
  • Several changes to the PDO appender: +
  • Several changes to LoggerAppenderPDO:
    • a database table for logging will no longer be created by the appender; the user must create this table manually.