[ 
https://issues.apache.org/jira/browse/TOMEE-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803095#comment-17803095
 ] 

Katja Zip edited comment on TOMEE-4269 at 1/4/24 12:37 PM:
-----------------------------------------------------------

[~jgallimore] Using TomEE 10.0.27 I still get problems: I have a webapp using 
SLF4j, logback and hibernate. 
All logs from my own code is handled by logback. But the logs from hibernate 
are filtered through the JUL logger from TomEE instead. 
Apparently, the SLF4J loggers created within hibernate are not loaded from my 
web container but rather from the underlying system. 
Therefore, the logging configuration from my application is not applied to the 
hibernate logs.
Can you have a look at that?


was (Author: JIRAUSER302137):
[~jgallimore] Using TomEE 10.x.x I still get problems: I have a webapp using 
SLF4j, logback and hibernate. 
All logs from my own code is handled by logback. But the logs from hibernate 
are filtered through the JUL logger from TomEE instead. 
Apparently, the SLF4J loggers created within hibernate are not loaded from my 
web container but rather from the underlying system. 
Therefore, the logging configuration from my application is not applied to the 
hibernate logs.
Can you have a look at that?

> Enable SLF4J 2.x webapps to include bindings in their WEB-INF/lib
> -----------------------------------------------------------------
>
>                 Key: TOMEE-4269
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4269
>             Project: TomEE
>          Issue Type: Improvement
>    Affects Versions: 10.0.0, 9.1.1
>            Reporter: Jonathan Gallimore
>            Assignee: Jonathan Gallimore
>            Priority: Major
>             Fix For: 10.0.0, 9.1.2
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Similar to TOMEE-4242. SLF4J 1.x has a StaticLoggerBinder which is used by 
> the Class loader to determine if a binding has been provided by the webapp. 
> SLF4J 2.x does not do this, so the proposed change is for any slf4j classes 
> to be loaded from the web application first.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to