[ 
https://jira.nuxeo.com/browse/NXP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=95395#comment-95395
 ] 

Julien Carsique edited comment on NXP-7014 at 5/27/11 3:23 PM:
---------------------------------------------------------------

Redirect is already done but:
- configuration is not enough documented 
(http://doc.nuxeo.com/display/NXDOC/Configuration+parameters+index or 
http://doc.nuxeo.com/display/KB/Nuxeo+Configuration+Properties)
=> org.nuxeo.runtime.redirectJUL and org.nuxeo.runtime.redirectJUL.threshold
- it is limiting logs to INFO level (using a threshold); how to active lower 
level only on a specific package ?

Why not use or extend SLF4JBridgeHandler.install() from 
org.slf4j:jul-to-slf4j:1.6.1 ?

Should use Nuxeo properties (nuxeo.conf) instead of System properties.


      was (Author: jcarsique):
    Redirect is already done but:
- configuration is not enough documented 
(http://doc.nuxeo.com/display/NXDOC/Configuration+parameters+index)
- it is limiting logs to INFO level; how to active lower level on a specific 
package ?
- it is not reusing log4j configuration
  
> Redirect Java util logging (JUL) to Log4J/SLF4J
> -----------------------------------------------
>
>                 Key: NXP-7014
>                 URL: https://jira.nuxeo.com/browse/NXP-7014
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>            Reporter: Julien Carsique
>            Assignee: Julien Carsique
>
> Looking carefully at not introducing an endless loop between JUL, Log4J and 
> SLF4J, JUL messages should be redirected to Log4J or SLF4J.
> Current logging libraries in Tomcat:
> ./lib/log4j-1.2.14.jar
> ./lib/log4j.xml
> ./nxserver/lib/jboss-seam-jul-2.1.0.SP1.jar
> ./nxserver/lib/slf4j-api-1.6.0.jar
> ./nxserver/lib/slf4j-log4j12-1.6.0.jar (bridge SLF4J => LOG4J)
> Try adding ./lib/jul-to-slf4j-1.6.1.jar (bridge JUL => SLF4J)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to