You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bas Passon (JIRA)" <ji...@apache.org> on 2010/02/04 11:44:27 UTC

[jira] Updated: (CXF-2651) LogUtils does not recognize SLF4J due to invallid Class.forName()

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

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

    Priority: Minor  (was: Major)

> 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 JCL 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.