[ 
https://issues.apache.org/jira/browse/CAMEL-15303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino reassigned CAMEL-15303:
----------------------------------------

    Assignee: Andrea Cosentino

> Reduce log level for autodiscovered ObjectMapper
> ------------------------------------------------
>
>                 Key: CAMEL-15303
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15303
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jackson
>    Affects Versions: 3.4.0
>            Reporter: Bogdan Ilchyshyn
>            Assignee: Andrea Cosentino
>            Priority: Minor
>
> When {{ObjectMapper}} is autodiscovered from the beans registry ( 
> {{autoDiscoverObjectMapper}} is set to {{true}} in {{JsonDataFormat}}), the 
> following message is logged with warn severity:
> {noformat}
> o.a.c.c.jackson.JacksonDataFormat : The objectMapper was already found in the 
> registry, no customizations will be applied {noformat}
> In many systems, warnings in logs trigger monitoring alerts as they usually 
> indicate the potential failure situation and require human attention. In this 
> case, autodiscovery is chosen by the developer so there is no any danger. Is 
> it possible to reduce the log message severity? It seems like it should be at 
> most info. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to