logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
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 GMT
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 @@
 				<param name="fromDepth" value="2"/>
 			</macro>
 
-			<subsection name="Apache log4php v2.3.0" id="Apache_log4php_v2.3.0">
+			<subsection name="Apache log4php v2.3.0 ()" id="Apache_log4php_v2.3.0">
 				<p>Release date: TBA</p>
 				<p><a href="changes-report.html#a2.3.0">JIRA change log</a></p>
 				
@@ -40,18 +40,19 @@
 				
 				<p><strong>Improvements:</strong></p>
 				<ul>
-					<li>The <a href="docs/layouts/pattern.html">pattern layout</a> has
been greatly improved:
+					<li><a href="docs/layouts/pattern.html">LoggerLayoutPatern</a> has
been greatly improved:
 						<ul>
 							<li>supports longer conversion words such as <code>%date</code>
instead of <code>%d</code>, 
 								<code>%message</code> instead of <code>%m</code>, etc.</li>
 							<li>added many new conversion words; check out the docs for the full list</li>
+							<li>changed the default conversion pattern to be more verbose</li>
 						</ul>
 					</li>
 				</ul>
 				
 				<p><strong>Breaking changes:</strong></p>
 				<ul>
-					<li>Several changes to the <a href="docs/appenders/pdo.html">PDO appender</a>:
+					<li>Several changes to <a href="docs/appenders/pdo.html">LoggerAppenderPDO</a>:
 						<ul>
 							<li>a database table for logging will no longer be created by the appender;
the user must 
 								create this table manually.</li>



Mime
View raw message