tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Dury (JIRA)" <>
Subject [jira] [Commented] (MTOMCAT-127) tomcat:run - Configuring Logging with JULI
Date Thu, 26 Sep 2013 13:56:04 GMT


Xavier Dury commented on MTOMCAT-127:

Same problem here: I'm trying to use a custom through <tomcatLoggingFile
/> in order to use SLF4J jul-to-slf4j bridge but it doesn't work (logs are still forwarded
to SLF4J).
> tomcat:run - Configuring Logging with JULI 
> -------------------------------------------
>                 Key: MTOMCAT-127
>                 URL:
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: New Feature
>          Components: tomcat6, tomcat7
>    Affects Versions: 2.0
>            Reporter: Cédric Couralet
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: backlog
> The configuration for a custom is not taken into account with the
tomcat6-7:run goal.
> From what I've seen, the reason is that the configuration for java.util.logging is done
before setting the system properties in the same class loader.
> I think it could be fixed by putting a call to LogManager.getLogManager().readConfiguration();
right after setting the system properties. I'm not confident enough on the possible side effects
to say it is the best solution. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message