[logback-dev] [Bug 44] New: misleading marker section in the demo

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Mon Feb 5 12:09:08 CET 2007


http://bugzilla.qos.ch/show_bug.cgi?id=44

           Summary: misleading marker section in the demo
           Product: logback-site
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Documentation
        AssignedTo: logback-dev at qos.ch
        ReportedBy: xavier.hanin at gmail.com


I've followed the logback classic demo and it works pretty well, and is quite
easy to understand. The only thing with which I had trouble is the Marker part.

First in this section we use a turbo filter to filter out the TRACE logs, but
they are already filtered by the expression setup on the CYCLIC appender. So I
first commented again the CYCLIC with evaluator and put back CYCLIC alone
(fortunately I didn't delete the definition as suggested when uncommenting 
CYCLIC with evaluator).

Then my trouble was due to the reload configuration (I think). As suggested I
used the reload configuration but it didn't work, the logs were still present.
After a quick investigation I decided to modify the target/classes/logback.xml
instead of src/main/resources/logback.xml, hit reload again and it worked.
Maybe it was only my lucky day, but I'm not too much surprised it worked only
like that. The other solution is to restart the server as usual, but it's
sensible to show that you can easily reload configuration.


-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the logback-dev mailing list