[ http://jira.jboss.com/jira/browse/JBAS-845?page=history ]

Scott M Stark updated JBAS-845:
-------------------------------

    Description: 
SourceForge Submitter: mhandwerker .
On Jboss3.2.3, this code in 
org\jboss\logging\util\LoggerStream.java loops infinitely 
if the console logger is using an AsyncAppender:

         recursiveCheck.set(Boolean.TRUE);
         if (TRACE)
         {
            logger.log(level, msg, new Throwable());
         }
         else
         {
            logger.log(level, msg); // BUG if logger is Async!!
         }
         recursiveCheck.set(Boolean.FALSE);


--Martin Handwerker
Celequest Corporation
Work: (650) 637-2168

  was:
SourceForge Submitter: mhandwerker .
On Jboss3.2.3, this code in 
org\jboss\logging\util\LoggerStream.java loops infinitely 
if the console logger is using an AsyncAppender:

         recursiveCheck.set(Boolean.TRUE);
         if (TRACE)
         {
            logger.log(level, msg, new Throwable());
         }
         else
         {
            logger.log(level, msg); // BUG if logger is Async!!
         }
         recursiveCheck.set(Boolean.FALSE);


--Martin Handwerker
Celequest Corporation
Work: (650) 637-2168

    Environment: 
       Priority: Minor  (was: Major)

> Infinite recursion when using AsyncAppender and LoggerStream
> ------------------------------------------------------------
>
>          Key: JBAS-845
>          URL: http://jira.jboss.com/jira/browse/JBAS-845
>      Project: JBoss Application Server
>         Type: Bug
>     Versions: JBossAS-3.2.6 Final
>     Reporter: SourceForge User
>     Assignee: Scott M Stark
>     Priority: Minor

>
>
> SourceForge Submitter: mhandwerker .
> On Jboss3.2.3, this code in 
> org\jboss\logging\util\LoggerStream.java loops infinitely 
> if the console logger is using an AsyncAppender:
>          recursiveCheck.set(Boolean.TRUE);
>          if (TRACE)
>          {
>             logger.log(level, msg, new Throwable());
>          }
>          else
>          {
>             logger.log(level, msg); // BUG if logger is Async!!
>          }
>          recursiveCheck.set(Boolean.FALSE);
> --Martin Handwerker
> Celequest Corporation
> Work: (650) 637-2168

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to