You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Niklas Therning (JIRA)" <ji...@apache.org> on 2006/11/21 09:18:02 UTC

[jira] Created: (DIRMINA-313) LoggingFilter logs exceptionCaught events on error level but uses isInfoEnabled in the if-statement

LoggingFilter logs exceptionCaught events on error level but uses isInfoEnabled in the if-statement
---------------------------------------------------------------------------------------------------

                 Key: DIRMINA-313
                 URL: http://issues.apache.org/jira/browse/DIRMINA-313
             Project: MINA
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Niklas Therning
         Assigned To: Niklas Therning
            Priority: Minor
             Fix For: 1.0.1


Here's the relevant piece of code:

        if( SessionLog.isInfoEnabled( session ) )
        {
            SessionLog.error( session, "EXCEPTION:", cause );
        }


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (DIRMINA-313) LoggingFilter logs exceptionCaught events on error level but uses isInfoEnabled in the if-statement

Posted by "Niklas Therning (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-313?page=all ]

Niklas Therning resolved DIRMINA-313.
-------------------------------------

    Resolution: Fixed

SessionLog.error() has been changed into SessionLog.info() in 1.0 and 1.1 branches and in trunk.

> LoggingFilter logs exceptionCaught events on error level but uses isInfoEnabled in the if-statement
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-313
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-313
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Niklas Therning
>         Assigned To: Niklas Therning
>            Priority: Minor
>             Fix For: 1.0.1
>
>
> Here's the relevant piece of code:
>         if( SessionLog.isInfoEnabled( session ) )
>         {
>             SessionLog.error( session, "EXCEPTION:", cause );
>         }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DIRMINA-313) LoggingFilter logs exceptionCaught events on error level but uses isInfoEnabled in the if-statement

Posted by "Niklas Therning (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-313?page=all ]

Niklas Therning closed DIRMINA-313.
-----------------------------------


> LoggingFilter logs exceptionCaught events on error level but uses isInfoEnabled in the if-statement
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-313
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-313
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Niklas Therning
>         Assigned To: Niklas Therning
>            Priority: Minor
>             Fix For: 1.0.1
>
>
> Here's the relevant piece of code:
>         if( SessionLog.isInfoEnabled( session ) )
>         {
>             SessionLog.error( session, "EXCEPTION:", cause );
>         }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira