[jboss-jira] [JBoss JIRA] (AS7-6587) Use JBoss Logging for resource adapter LogWriter

Osamu Nagano (JIRA) jira-events at lists.jboss.org
Fri Feb 22 00:52:56 EST 2013


    [ https://issues.jboss.org/browse/AS7-6587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755891#comment-12755891 ] 

Osamu Nagano commented on AS7-6587:
-----------------------------------

Besides the logging system integration, the current stdout log writer is not working properly.  It actually outputs nothing.  The PrintWriter object should be auto flushed like {{new PrintWriter(System.out, true)}} as a short-term solution.

{code:title=https://github.com/jbossas/jboss-as/blob/master/connector/src/main/java/org/jboss/as/connector/services/resourceadapters/deployment/AbstractResourceAdapterDeploymentService.java#L387}
        @Override
        protected PrintWriter getLogPrintWriter() {
            return new PrintWriter(System.out);
        }
{code}
                
> Use JBoss Logging for resource adapter LogWriter
> ------------------------------------------------
>
>                 Key: AS7-6587
>                 URL: https://issues.jboss.org/browse/AS7-6587
>             Project: Application Server 7
>          Issue Type: Task
>          Components: JCA
>            Reporter: Jesper Pedersen
>            Assignee: Stefano Maestri
>
> Have each resource adapter deployment use JBoss Logging for its LogWriter implementation.
> Logging category should include the resource adapter name (eis.rar), and activation id.

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


More information about the jboss-jira mailing list