[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4php-dev
Subject:    svn commit: r936613 - in /logging/log4php/trunk/src: changes/changes.xml
From:       grobmeier () apache ! org
Date:       2010-04-22 4:59:36
Message-ID: 20100422045936.34CCE238899B () eris ! apache ! org
[Download RAW message or body]

Author: grobmeier
Date: Thu Apr 22 04:59:35 2010
New Revision: 936613

URL: http://svn.apache.org/viewvc?rev=936613&view=rev
Log:
LOG4PHP-111: added documentation about line break in pattern layout (contributed by \
Ivan Habunek)

Modified:
    logging/log4php/trunk/src/changes/changes.xml
    logging/log4php/trunk/src/site/apt/docs/appender-layout.apt

Modified: logging/log4php/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/changes/changes.xml?rev=936613&r1=936612&r2=936613&view=diff
 ==============================================================================
--- logging/log4php/trunk/src/changes/changes.xml (original)
+++ logging/log4php/trunk/src/changes/changes.xml Thu Apr 22 04:59:35 2010
@@ -24,6 +24,7 @@
   </properties>
   <body>
   	<release version="2.1" description="Stabilizing">
+  		<action type="update" issue="LOG4PHP-111" by="Ivan Habunek">Documentation: \
                Problem using a custom ConversionPattern</action>
   		<action type="update" issue="LOG4PHP-108" by="Florian Platzer, Christian \
                Grobmeier">Add HTML line break to LoggerAppenderEcho output</action>
   		<action type="update" by="Ivan Habunek">Included new LoggerLayoutPattern \
                tests</action>
   		<action type="fix" issue="LOG4PHP-103" by="Moritz Schmidt">Exception when using \
more than one LoggerAppenderFile</action>

Modified: logging/log4php/trunk/src/site/apt/docs/appender-layout.apt
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/apt/docs/appender-layout.apt?rev=936613&r1=936612&r2=936613&view=diff
 ==============================================================================
--- logging/log4php/trunk/src/site/apt/docs/appender-layout.apt (original)
+++ logging/log4php/trunk/src/site/apt/docs/appender-layout.apt Thu Apr 22 04:59:35 \
2010 @@ -65,6 +65,12 @@ Apache Log4php Layouts
   2009-09-09 00:27:35,787 [DEBUG] root: Second line (at \
src/examples/php/layout_pattern.php line 7)  +--
 
+  Note: you'll need to add a line break to you pattern. This can been done with \
adding %n to the pattern, like: +
++--
+  <param name="ConversionPattern" value="%d{d/m/Y H:i:s,u} [%t] [%p] : %m%n" /> 
++--  
+
 ** {LoggerLayoutSimple}
 
   Returns the log statement in a format consisting of the level, followed by " - " \
and then the message.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic