You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bert Jacobs (JIRA)" <ji...@apache.org> on 2012/06/14 23:19:42 UTC

[jira] [Updated] (DOSGI-121) Fix logging: System.out prints, printStackTrace, verbose logs

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

Bert Jacobs updated DOSGI-121:
------------------------------

    Attachment: logtuning.patch

I've revised most logging statements in the DOSGi project and created a patch: this tries to log service publications only once and tries to make certain errors stand out more.

System.out and printStackTrace logging is avoided for all core classes (not for the tests).
                
> Fix logging: System.out prints, printStackTrace, verbose logs
> -------------------------------------------------------------
>
>                 Key: DOSGI-121
>                 URL: https://issues.apache.org/jira/browse/DOSGI-121
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>    Affects Versions: 1.3.1
>            Reporter: Bert Jacobs
>              Labels: logging
>         Attachments: logtuning.patch
>
>
> When I use CXF-DOSGi in a project, I notice that the logs are only useful to me when I allow the INFO level, yet they become verbose quickly and cause frequent roll-overs.
> I also noticed that certain errors get printed to the standard-output and standard-error stream, this becomes annoying when using an OSGi console like Karaf.

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