You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Corey Puffalt (JIRA)" <ji...@apache.org> on 2006/12/13 17:04:24 UTC

[jira] Commented: (DIRMINA-314) LoggingFilter should use different loggers for each event and the logger prefix and level should be configurable

    [ http://issues.apache.org/jira/browse/DIRMINA-314?page=comments#action_12458172 ] 
            
Corey Puffalt commented on DIRMINA-314:
---------------------------------------

I would like to add that I think the default logger name should be changed.

Currently the SessionLog class logs all messages using the Logger classname of my IoHandler.  This presents a problem for me in that I can no longer differentiate log messages emitted from the SessionLog class versus log messages emitted from my own IoHandler class.  (Although setting my own logger name for LoggingFilter will mitigate this problem it would be nice if the default changed to something that isn't going to collide with the user's logging names out of the box.)



> LoggingFilter should use different loggers for each event and the logger prefix and level should be configurable
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-314
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-314
>             Project: MINA
>          Issue Type: New Feature
>            Reporter: Niklas Therning
>         Assigned To: Niklas Therning
>            Priority: Minor
>             Fix For: 2.0
>
>
> It would be nice to be able to set my own logger name for LoggingFilter to use. It can be done today by setting an attribute in my session but then the prefix used by SessionLog will be null. 
> It would also be nice to be able to set the log level to be used. Currently the level is always INFO.

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