cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bas Passon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-2651) LogUtils does not recognize SLF4J due to invallid Class.forName()
Date Thu, 04 Feb 2010 10:50:28 GMT

     [ https://issues.apache.org/jira/browse/CXF-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bas Passon updated CXF-2651:
----------------------------

    Description: 
LogUtils uses Class.forName("org/slf4j/impl/StaticLoggerBinder") to determine if SLF4J is
present. This will always throw a ClassNotFound exception which is ignored in the catch and
JUL gets used. The correct statement should be Class.forName("org.slf4j.impl.StaticLoggerBinder");
Which then will initialize logging correctly.


  was:
LogUtils uses Class.forName("org/slf4j/impl/StaticLoggerBinder") to determine if SLF4J is
present. This will always throw a ClassNotFound exception which is ignored in the catch and
JCL gets used. The correct statement should be Class.forName("org.slf4j.impl.StaticLoggerBinder");
Which then will initialize logging correctly.



> LogUtils does not recognize SLF4J due to invallid Class.forName()  
> -------------------------------------------------------------------
>
>                 Key: CXF-2651
>                 URL: https://issues.apache.org/jira/browse/CXF-2651
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.2.6
>         Environment: Any environement.
>            Reporter: Bas Passon
>            Priority: Minor
>
> LogUtils uses Class.forName("org/slf4j/impl/StaticLoggerBinder") to determine if SLF4J
is present. This will always throw a ClassNotFound exception which is ignored in the catch
and JUL gets used. The correct statement should be Class.forName("org.slf4j.impl.StaticLoggerBinder");
Which then will initialize logging correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message