You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2008/03/24 09:36:32 UTC

[jira] Created: (CAMEL-394) Improve logging for camel-mina

Improve logging for camel-mina
------------------------------

                 Key: CAMEL-394
                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-mina
    Affects Versions: 1.3.0
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 1.3.0


Currently camel-mina does not log using similar log classnames for a MinaProducer and MinaConsumer. This can be a bit misleading in the log files.

MinaConsumer uses an anonymous inner class to do the IoHandler where as MinaProducer does not. This renders the loglines such as
{code}
MinaConsumer$1 - XXX
MinaProducer$RecieveHandler - XXX
{code}

MinaConsumer should use a non anonymous inner classes so logging is the same:
{code}
MinaConsumer$RecieveHandler - XXX
MinaProducer$ResponseHandler - XXX
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-394) Improve logging for camel-mina

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41765#action_41765 ] 

Claus Ibsen commented on CAMEL-394:
-----------------------------------

I think we should have an option on the component so it can easily turn on/off default Mina logging.

Otherwise it can be a bit of hassle out-of-the-box since Apache MINA logs everything at INFO level. 

> Improve logging for camel-mina
> ------------------------------
>
>                 Key: CAMEL-394
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mina
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Currently camel-mina does not log using similar log classnames for a MinaProducer and MinaConsumer. This can be a bit misleading in the log files.
> MinaConsumer uses an anonymous inner class to do the IoHandler where as MinaProducer does not. This renders the loglines such as
> {code}
> MinaConsumer$1 - XXX
> MinaProducer$RecieveHandler - XXX
> {code}
> MinaConsumer should use a non anonymous inner classes so logging is the same:
> {code}
> MinaConsumer$RecieveHandler - XXX
> MinaProducer$ResponseHandler - XXX
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-394) Improve logging for camel-mina

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41767#action_41767 ] 

Claus Ibsen commented on CAMEL-394:
-----------------------------------

TODO: add wiki documentation for logger=true | logger=false option. Default is false.

This option turns Apache MINA logger on/off. It logs using slf4j at INFO level so it gets quite verbose, so its nice to turn it off.

> Improve logging for camel-mina
> ------------------------------
>
>                 Key: CAMEL-394
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mina
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Currently camel-mina does not log using similar log classnames for a MinaProducer and MinaConsumer. This can be a bit misleading in the log files.
> MinaConsumer uses an anonymous inner class to do the IoHandler where as MinaProducer does not. This renders the loglines such as
> {code}
> MinaConsumer$1 - XXX
> MinaProducer$RecieveHandler - XXX
> {code}
> MinaConsumer should use a non anonymous inner classes so logging is the same:
> {code}
> MinaConsumer$RecieveHandler - XXX
> MinaProducer$ResponseHandler - XXX
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-394) Improve logging for camel-mina

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41809#action_41809 ] 

Claus Ibsen commented on CAMEL-394:
-----------------------------------

camel-mina now also logs better information when it configures and creates MinaProducer and MinaConsumers. And when it stops a MinaProducer. And more.

> Improve logging for camel-mina
> ------------------------------
>
>                 Key: CAMEL-394
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mina
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Currently camel-mina does not log using similar log classnames for a MinaProducer and MinaConsumer. This can be a bit misleading in the log files.
> MinaConsumer uses an anonymous inner class to do the IoHandler where as MinaProducer does not. This renders the loglines such as
> {code}
> MinaConsumer$1 - XXX
> MinaProducer$RecieveHandler - XXX
> {code}
> MinaConsumer should use a non anonymous inner classes so logging is the same:
> {code}
> MinaConsumer$RecieveHandler - XXX
> MinaProducer$ResponseHandler - XXX
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (CAMEL-394) Improve logging for camel-mina

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-394 started by Claus Ibsen.

> Improve logging for camel-mina
> ------------------------------
>
>                 Key: CAMEL-394
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mina
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Currently camel-mina does not log using similar log classnames for a MinaProducer and MinaConsumer. This can be a bit misleading in the log files.
> MinaConsumer uses an anonymous inner class to do the IoHandler where as MinaProducer does not. This renders the loglines such as
> {code}
> MinaConsumer$1 - XXX
> MinaProducer$RecieveHandler - XXX
> {code}
> MinaConsumer should use a non anonymous inner classes so logging is the same:
> {code}
> MinaConsumer$RecieveHandler - XXX
> MinaProducer$ResponseHandler - XXX
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-394) Improve logging for camel-mina

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-394:
---------------------------------

    Assignee: Claus Ibsen

> Improve logging for camel-mina
> ------------------------------
>
>                 Key: CAMEL-394
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mina
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Currently camel-mina does not log using similar log classnames for a MinaProducer and MinaConsumer. This can be a bit misleading in the log files.
> MinaConsumer uses an anonymous inner class to do the IoHandler where as MinaProducer does not. This renders the loglines such as
> {code}
> MinaConsumer$1 - XXX
> MinaProducer$RecieveHandler - XXX
> {code}
> MinaConsumer should use a non anonymous inner classes so logging is the same:
> {code}
> MinaConsumer$RecieveHandler - XXX
> MinaProducer$ResponseHandler - XXX
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CAMEL-394) Improve logging for camel-mina

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen closed CAMEL-394.
-----------------------------

    Resolution: Fixed

Added wiki documentation and committed to trunk

> Improve logging for camel-mina
> ------------------------------
>
>                 Key: CAMEL-394
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mina
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Currently camel-mina does not log using similar log classnames for a MinaProducer and MinaConsumer. This can be a bit misleading in the log files.
> MinaConsumer uses an anonymous inner class to do the IoHandler where as MinaProducer does not. This renders the loglines such as
> {code}
> MinaConsumer$1 - XXX
> MinaProducer$RecieveHandler - XXX
> {code}
> MinaConsumer should use a non anonymous inner classes so logging is the same:
> {code}
> MinaConsumer$RecieveHandler - XXX
> MinaProducer$ResponseHandler - XXX
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-394) Improve logging for camel-mina

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41807#action_41807 ] 

Claus Ibsen commented on CAMEL-394:
-----------------------------------

The new logger option is named: minaLogger

> Improve logging for camel-mina
> ------------------------------
>
>                 Key: CAMEL-394
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-394
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mina
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Currently camel-mina does not log using similar log classnames for a MinaProducer and MinaConsumer. This can be a bit misleading in the log files.
> MinaConsumer uses an anonymous inner class to do the IoHandler where as MinaProducer does not. This renders the loglines such as
> {code}
> MinaConsumer$1 - XXX
> MinaProducer$RecieveHandler - XXX
> {code}
> MinaConsumer should use a non anonymous inner classes so logging is the same:
> {code}
> MinaConsumer$RecieveHandler - XXX
> MinaProducer$ResponseHandler - XXX
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.