
Author: seb Date: Thu Oct 26 15:09:28 2006 New Revision: 787 Modified: logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml Log: added reference to the live access log page Modified: logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml ============================================================================== --- logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml (original) +++ logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml Thu Oct 26 15:09:28 2006 @@ -1238,7 +1238,7 @@ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> - <b><Pattern>%-4relative [%thread] %-5level - %msg %sample%n</Pattern></b> + <b><Pattern>%-4relative [%thread] %%sample - %msg%n</Pattern></b> </layout> </appender> @@ -1642,5 +1642,14 @@ <p>Here is what you can expect from a configured access <code>HTMLLayout</code>:</p> <img src="images/chapter5/htmlLayoutAccess.gif" alt="Access HTML Layout Sample Image"/> + <p>What's better than a real world example? Our own log4j properties to logback configuration + <a href="http://logback.qos.ch/translator">translator</a> + is using logback access to showcase a live ouput, using a <code>RollingFileAppender</code> and + access' <code>HTMLLayout</code>.</p> + + <p>You can see the file by <a href="http://logback.qos.ch/translator/logs/access.html">following this link</a>.</p> + + <p>Just like any access log, it can be altered simply by visiting the + <a href="http://logback.qos.ch/translator">translator</a> application.</p> </body> </document>