Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005074 [Resin] minor always 05-10-12 13:08 06-18-12 14:06
Reporter rickHigh View Status public  
Assigned To rickHigh
Priority normal Resolution fixed  
Status closed   Product Version 4.0.29
Summary 0005074: DOC Issues: Logging docs: Using a custom logger
Description The example that shows using a custom logger is missing the <formatter/> element.

Here is an example that does work:


<resin xmlns="http://caucho.com/ns/resin" [^]
       xmlns:resin="urn:java:com.caucho.resin"
       xmlns:java-logging="urn:java:java.util.logging">
       
            
      <log-handler name="" level="all" path="stdout:">
        <formatter><java-logging:SimpleFormatter/></formatter>
      </log-handler>
...
Additional Information
Attached Files

- Relationships

- Notes
(0005761)
rickHigh
05-10-12 13:16

A little further on this....

<resin xmlns="http://caucho.com/ns/resin" [^]
       xmlns:resin="urn:java:com.caucho.resin"
       xmlns:java-logging="urn:java:java.util.logging">
       
      This does not work... it uses Resin's standard logging. There is no error message generated.
      <log-handler name="" level="all" path="stdout:">
        <java-logging:XMLFormatter/>
      </log-handler>

      This does work, it changes Resin's logging to use XML.

      <log-handler name="" level="all" path="stdout:">
        <formatter><java-logging:XMLFormatter/></formatter>
      </log-handler>
 

- Issue History
Date Modified Username Field Change
05-10-12 13:08 rickHigh New Issue
05-10-12 13:16 rickHigh Note Added: 0005761
06-15-12 12:25 rickHigh Resolution open => fixed
06-18-12 14:06 rickHigh Assigned To  => rickHigh
06-18-12 14:06 rickHigh Status new => closed
06-18-12 14:06 rickHigh version  => 4.0.29


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker