You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Rajith Attapattu (JIRA)" <ji...@apache.org> on 2012/12/05 18:41:59 UTC

[jira] [Commented] (PROTON-179) proton-j - replace system.out and system.err calls with java.util.logging

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

Rajith Attapattu commented on PROTON-179:
-----------------------------------------

I started out with a logging callback when I started driver code, but since then have used java.util.logging as the rest of the engine code was using that.

I think a good long term solution is to provide a callback so the host application can decide what framework to use.
                
> proton-j - replace system.out and system.err calls with java.util.logging
> -------------------------------------------------------------------------
>
>                 Key: PROTON-179
>                 URL: https://issues.apache.org/jira/browse/PROTON-179
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>    Affects Versions: 0.2
>            Reporter: Philip Harvey
>            Assignee: Rob Godfrey
>         Attachments: 0001-PROTON-179-use-java.util.logging-instead-of-system.o.patch
>
>
> We do not yet know what the final solution is for how proton-j should perform logging.  We think we might want to allow Proton's host application to provide logging callbacks, allowing Proton's output to be combined with the host application's output.
> Pending the final logging design, we should use java.util.logging in the mean time.  This is at least preferable to the existing system.out.println calls.

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