You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Raul Kripalani (JIRA)" <ji...@apache.org> on 2012/10/10 19:23:03 UTC

[jira] [Created] (CAMEL-5699) LogFormatter throws a NPE when all elements are disabled

Raul Kripalani created CAMEL-5699:
-------------------------------------

             Summary: LogFormatter throws a NPE when all elements are disabled
                 Key: CAMEL-5699
                 URL: https://issues.apache.org/jira/browse/CAMEL-5699
             Project: Camel
          Issue Type: New Feature
    Affects Versions: 2.10.1, 2.9.3
            Reporter: Raul Kripalani
             Fix For: 2.11.0


There are perfectly valid cases where you may want to output a log message with no elements displayed, i.e. with showExchangeId=false, showBody=false, etc.

For example, when you want to print a "signal" log line for a particular transaction and you're already using MDC logging with breadcrumbs enabled. You may already have all the info you need: logging category, severity, breadcrumbId. You are not interested in anything else.

Currently, disabling all elements leads to a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5699) LogFormatter throws a NPE when all elements are disabled

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

Claus Ibsen updated CAMEL-5699:
-------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s: 2.10.3
       Issue Type: Bug  (was: New Feature)
    
> LogFormatter throws a NPE when all elements are disabled
> --------------------------------------------------------
>
>                 Key: CAMEL-5699
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5699
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.3, 2.10.1
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>            Priority: Minor
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> There are perfectly valid cases where you may want to output a log message with no elements displayed, i.e. with showExchangeId=false, showBody=false, etc.
> For example, when you want to print a "signal" log line for a particular transaction and you're already using MDC logging with breadcrumbs enabled. You may already have all the info you need: logging category, severity, breadcrumbId. You are not interested in anything else.
> Currently, disabling all elements leads to a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5699) LogFormatter throws a NPE when all elements are disabled

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

Claus Ibsen commented on CAMEL-5699:
------------------------------------

Raul are you working on fixing this?

We want to cut new releases in near term, so either we need to fix or defer tickets,
                
> LogFormatter throws a NPE when all elements are disabled
> --------------------------------------------------------
>
>                 Key: CAMEL-5699
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5699
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.9.3, 2.10.1
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> There are perfectly valid cases where you may want to output a log message with no elements displayed, i.e. with showExchangeId=false, showBody=false, etc.
> For example, when you want to print a "signal" log line for a particular transaction and you're already using MDC logging with breadcrumbs enabled. You may already have all the info you need: logging category, severity, breadcrumbId. You are not interested in anything else.
> Currently, disabling all elements leads to a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5699) LogFormatter throws a NPE when all elements are disabled

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

Raul Kripalani updated CAMEL-5699:
----------------------------------

    Component/s: camel-core
    
> LogFormatter throws a NPE when all elements are disabled
> --------------------------------------------------------
>
>                 Key: CAMEL-5699
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5699
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.9.3, 2.10.1
>            Reporter: Raul Kripalani
>             Fix For: 2.9.4, 2.11.0
>
>
> There are perfectly valid cases where you may want to output a log message with no elements displayed, i.e. with showExchangeId=false, showBody=false, etc.
> For example, when you want to print a "signal" log line for a particular transaction and you're already using MDC logging with breadcrumbs enabled. You may already have all the info you need: logging category, severity, breadcrumbId. You are not interested in anything else.
> Currently, disabling all elements leads to a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-5699) LogFormatter throws a NPE when all elements are disabled

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

Claus Ibsen resolved CAMEL-5699.
--------------------------------

    Resolution: Fixed

Fixing known bugs before we cut releases soon.
                
> LogFormatter throws a NPE when all elements are disabled
> --------------------------------------------------------
>
>                 Key: CAMEL-5699
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5699
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.3, 2.10.1
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>            Priority: Minor
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> There are perfectly valid cases where you may want to output a log message with no elements displayed, i.e. with showExchangeId=false, showBody=false, etc.
> For example, when you want to print a "signal" log line for a particular transaction and you're already using MDC logging with breadcrumbs enabled. You may already have all the info you need: logging category, severity, breadcrumbId. You are not interested in anything else.
> Currently, disabling all elements leads to a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5699) LogFormatter throws a NPE when all elements are disabled

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

Raul Kripalani updated CAMEL-5699:
----------------------------------

    Fix Version/s: 2.9.4
         Assignee: Raul Kripalani
    
> LogFormatter throws a NPE when all elements are disabled
> --------------------------------------------------------
>
>                 Key: CAMEL-5699
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5699
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.9.3, 2.10.1
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.9.4, 2.11.0
>
>
> There are perfectly valid cases where you may want to output a log message with no elements displayed, i.e. with showExchangeId=false, showBody=false, etc.
> For example, when you want to print a "signal" log line for a particular transaction and you're already using MDC logging with breadcrumbs enabled. You may already have all the info you need: logging category, severity, breadcrumbId. You are not interested in anything else.
> Currently, disabling all elements leads to a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5699) LogFormatter throws a NPE when all elements are disabled

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

Hadrian Zbarcea updated CAMEL-5699:
-----------------------------------

    Fix Version/s:     (was: 2.9.4)
                   2.9.5
    
> LogFormatter throws a NPE when all elements are disabled
> --------------------------------------------------------
>
>                 Key: CAMEL-5699
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5699
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.9.3, 2.10.1
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.9.5, 2.11.0
>
>
> There are perfectly valid cases where you may want to output a log message with no elements displayed, i.e. with showExchangeId=false, showBody=false, etc.
> For example, when you want to print a "signal" log line for a particular transaction and you're already using MDC logging with breadcrumbs enabled. You may already have all the info you need: logging category, severity, breadcrumbId. You are not interested in anything else.
> Currently, disabling all elements leads to a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira