You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sven Viehmeier (Created) (JIRA)" <ji...@apache.org> on 2012/03/14 11:38:37 UTC

[jira] [Created] (DOSGI-113) Integration with pax-logging not possible

Integration with pax-logging not possible
-----------------------------------------

                 Key: DOSGI-113
                 URL: https://issues.apache.org/jira/browse/DOSGI-113
             Project: CXF Distributed OSGi
          Issue Type: Bug
          Components: Product
    Affects Versions: 1.3
         Environment: Felix and Eclipse
            Reporter: Sven Viehmeier
            Priority: Minor


I tried to integrate Apache CXF 1.2 and 1.3 with pax-logging. It failed with both versions:
- Apache CXF 1.2: pax-logging does not export package "org.apache.log4j.jmx". So as long as this package is needed by CXF, this would be an issue of pax-logging
- Apache CXF 1.3: Dependencies could all be resolved and pax-logging integrates fine with my own code (which uses Log4j as the API), but the logging messages from CXF still appear on the console and not where I configured it. I also tried to switch CXF to use Log4j instead of SLF4J, but it seems that the system property "org.apache.cxf.Logger" is not respected.

Please see the users mailing list with the topic "Configure logging in CXF + pax-web + Jetty" ([http://mail-archives.apache.org/mod_mbox/cxf-users/201202.mbox/%3C4F3B8181.9080705@gmail.com%3E]) for more details.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DOSGI-113) Integration with pax-logging not possible

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DOSGI-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved DOSGI-113.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

This should work now. Please reopen if you still have issues
                
> Integration with pax-logging not possible
> -----------------------------------------
>
>                 Key: DOSGI-113
>                 URL: https://issues.apache.org/jira/browse/DOSGI-113
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Product
>    Affects Versions: 1.3
>         Environment: Felix and Eclipse
>            Reporter: Sven Viehmeier
>            Assignee: Christian Schneider
>            Priority: Minor
>              Labels: logging
>             Fix For: 1.4
>
>
> I tried to integrate Apache CXF 1.2 and 1.3 with pax-logging. It failed with both versions:
> - Apache CXF 1.2: pax-logging does not export package "org.apache.log4j.jmx". So as long as this package is needed by CXF, this would be an issue of pax-logging
> - Apache CXF 1.3: Dependencies could all be resolved and pax-logging integrates fine with my own code (which uses Log4j as the API), but the logging messages from CXF still appear on the console and not where I configured it. I also tried to switch CXF to use Log4j instead of SLF4J, but it seems that the system property "org.apache.cxf.Logger" is not respected.
> Please see the users mailing list with the topic "Configure logging in CXF + pax-web + Jetty" ([http://mail-archives.apache.org/mod_mbox/cxf-users/201202.mbox/%3C4F3B8181.9080705@gmail.com%3E]) for more details.

--
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: http://www.atlassian.com/software/jira

[jira] [Commented] (DOSGI-113) Integration with pax-logging not possible

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DOSGI-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486906#comment-13486906 ] 

Christian Schneider commented on DOSGI-113:
-------------------------------------------

I have just created a feature file for karaf on trunk. There I use pax logging and it seems to work fine. Can you check if this solves your issue?

                
> Integration with pax-logging not possible
> -----------------------------------------
>
>                 Key: DOSGI-113
>                 URL: https://issues.apache.org/jira/browse/DOSGI-113
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Product
>    Affects Versions: 1.3
>         Environment: Felix and Eclipse
>            Reporter: Sven Viehmeier
>            Priority: Minor
>              Labels: logging
>
> I tried to integrate Apache CXF 1.2 and 1.3 with pax-logging. It failed with both versions:
> - Apache CXF 1.2: pax-logging does not export package "org.apache.log4j.jmx". So as long as this package is needed by CXF, this would be an issue of pax-logging
> - Apache CXF 1.3: Dependencies could all be resolved and pax-logging integrates fine with my own code (which uses Log4j as the API), but the logging messages from CXF still appear on the console and not where I configured it. I also tried to switch CXF to use Log4j instead of SLF4J, but it seems that the system property "org.apache.cxf.Logger" is not respected.
> Please see the users mailing list with the topic "Configure logging in CXF + pax-web + Jetty" ([http://mail-archives.apache.org/mod_mbox/cxf-users/201202.mbox/%3C4F3B8181.9080705@gmail.com%3E]) for more details.

--
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: http://www.atlassian.com/software/jira

[jira] [Assigned] (DOSGI-113) Integration with pax-logging not possible

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DOSGI-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider reassigned DOSGI-113:
-----------------------------------------

    Assignee: Christian Schneider
    
> Integration with pax-logging not possible
> -----------------------------------------
>
>                 Key: DOSGI-113
>                 URL: https://issues.apache.org/jira/browse/DOSGI-113
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Product
>    Affects Versions: 1.3
>         Environment: Felix and Eclipse
>            Reporter: Sven Viehmeier
>            Assignee: Christian Schneider
>            Priority: Minor
>              Labels: logging
>             Fix For: 1.4
>
>
> I tried to integrate Apache CXF 1.2 and 1.3 with pax-logging. It failed with both versions:
> - Apache CXF 1.2: pax-logging does not export package "org.apache.log4j.jmx". So as long as this package is needed by CXF, this would be an issue of pax-logging
> - Apache CXF 1.3: Dependencies could all be resolved and pax-logging integrates fine with my own code (which uses Log4j as the API), but the logging messages from CXF still appear on the console and not where I configured it. I also tried to switch CXF to use Log4j instead of SLF4J, but it seems that the system property "org.apache.cxf.Logger" is not respected.
> Please see the users mailing list with the topic "Configure logging in CXF + pax-web + Jetty" ([http://mail-archives.apache.org/mod_mbox/cxf-users/201202.mbox/%3C4F3B8181.9080705@gmail.com%3E]) for more details.

--
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: http://www.atlassian.com/software/jira