[jboss-jira] [JBoss JIRA] (WFLY-1242) Use JBoss Logging for resource adapter LogWriter

Osamu Nagano (JIRA) jira-events at lists.jboss.org
Wed Jul 3 02:07:21 EDT 2013


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

Osamu Nagano edited comment on WFLY-1242 at 7/3/13 2:06 AM:
------------------------------------------------------------

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}

WFLY-1630 is created for this specific fix.
                
      was (Author: osamu.nagano):
    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: WFLY-1242
>                 URL: https://issues.jboss.org/browse/WFLY-1242
>             Project: WildFly
>          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