[logback-dev] svn commit: r1220 - logback-demo/src/main/resources
noreply.seb at qos.ch
noreply.seb at qos.ch
Mon Jan 15 19:20:45 CET 2007
Author: seb
Date: Mon Jan 15 19:20:45 2007
New Revision: 1220
Modified:
logback-demo/src/main/resources/logback.xml
Log:
on going work on demo documentation
Modified: logback-demo/src/main/resources/logback.xml
==============================================================================
--- logback-demo/src/main/resources/logback.xml (original)
+++ logback-demo/src/main/resources/logback.xml Mon Jan 15 19:20:45 2007
@@ -28,19 +28,20 @@
</layout>
</appender>
- <!-- PART I: Basic Cyclic buffer -->
+ <!-- PART I: Basic Cyclic buffer
<appender name="CYCLIC"
class="ch.qos.logback.core.read.CyclicBufferAppender">
<MaxSize>512</MaxSize>
</appender>
+ -->
- <!-- PART II: Cyclic buffer with Evaluator
+ <!-- PART II: Cyclic buffer with Evaluator -->
<appender name="CYCLIC"
class="ch.qos.logback.core.read.CyclicBufferAppender">
<filter class="ch.qos.logback.core.filter.EvaluatorFilter">
<evaluator name="loggingTaskEval">
<expression>
- logger.getName().contains("LoggingTask") &&
+ logger.getName().contns("LoggingTask") &&
message.contains("Howdydy-diddly-ho") &&
(timeStamp - event.getStartTime()) >= 20000
</expression>
@@ -49,7 +50,6 @@
</filter>
<MaxSize>512</MaxSize>
</appender>
- -->
<!-- PART III: TurboFilter: MDC value
<turboFilter class="ch.qos.logback.classic.turbo.MDCFilter">
More information about the logback-dev
mailing list