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 2009/09/13 11:38:12 UTC

[jira] Created: (CAMEL-2008) camel-cache - reduce logging noise

camel-cache - reduce logging noise
----------------------------------

                 Key: CAMEL-2008
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2008
             Project: Apache Camel
          Issue Type: Sub-task
            Reporter: Claus Ibsen




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


[jira] Assigned: (CAMEL-2008) camel-cache - reduce logging noise

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

Claus Ibsen reassigned CAMEL-2008:
----------------------------------

    Assignee: Ashwin Karpe

Ashwin can you take a look at your camel-cache component in trunk and reduce the INFO logging to DEBUG and/or TRACE to have a more gentle logging when using it

> camel-cache - reduce logging noise
> ----------------------------------
>
>                 Key: CAMEL-2008
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2008
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>


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


[jira] Commented: (CAMEL-2008) camel-cache - reduce logging noise

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

Claus Ibsen commented on CAMEL-2008:
------------------------------------

And use guards (isDebugEnabled) etc. in the notify to avoid excessive CPU cycles on constructing to string representation of data which is then not needed if logging is set to INFO etc.


> camel-cache - reduce logging noise
> ----------------------------------
>
>                 Key: CAMEL-2008
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2008
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>         Attachments: camel-cache-with-reduced-logging.patch, camel-cache-with-reduced-logging.zip
>
>


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


[jira] Resolved: (CAMEL-2008) camel-cache - reduce logging noise

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

Claus Ibsen resolved CAMEL-2008.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

trunk: 817604.

Thanks Ashwin. 

> camel-cache - reduce logging noise
> ----------------------------------
>
>                 Key: CAMEL-2008
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2008
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>             Fix For: 2.1.0
>
>         Attachments: camel-cache-with-reduced-logging.patch, camel-cache-with-reduced-logging.zip, camel-cache-with-reduced-logging_2.patch, camel-cache-with-reduced-logging_2.zip
>
>


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


[jira] Commented: (CAMEL-2008) camel-cache - reduce logging noise

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

Claus Ibsen commented on CAMEL-2008:
------------------------------------

It has to be reduced even further.

You have stuff like
    LOG.debug("In CacheProducer.start()");
Which is TRACE level, and do it bring much value to log this tracing? What do you need it for?


> camel-cache - reduce logging noise
> ----------------------------------
>
>                 Key: CAMEL-2008
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2008
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>         Attachments: camel-cache-with-reduced-logging.patch, camel-cache-with-reduced-logging.zip
>
>


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


[jira] Updated: (CAMEL-2008) camel-cache - reduce logging noise

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

Ashwin Karpe updated CAMEL-2008:
--------------------------------

    Attachment: camel-cache-with-reduced-logging_2.zip
                camel-cache-with-reduced-logging_2.patch

Claus,

I have made the suggested changes. Please check out the new patch and attached zip

Cheers,

Ashwin

> camel-cache - reduce logging noise
> ----------------------------------
>
>                 Key: CAMEL-2008
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2008
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>         Attachments: camel-cache-with-reduced-logging.patch, camel-cache-with-reduced-logging.zip, camel-cache-with-reduced-logging_2.patch, camel-cache-with-reduced-logging_2.zip
>
>


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


[jira] Updated: (CAMEL-2008) camel-cache - reduce logging noise

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

Ashwin Karpe updated CAMEL-2008:
--------------------------------

    Attachment: camel-cache-with-reduced-logging.zip
                camel-cache-with-reduced-logging.patch

Hi Claus,

I have made the appropriate changes to facilitate reduced logging. Please find the patch attached above.

I have also attached the refactored component for your reference.

Hope this helps.

Cheers,

Ashwin...

> camel-cache - reduce logging noise
> ----------------------------------
>
>                 Key: CAMEL-2008
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2008
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>         Attachments: camel-cache-with-reduced-logging.patch, camel-cache-with-reduced-logging.zip
>
>


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