Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15303

Reduce log level for autodiscovered ObjectMapper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.3, 3.5.0
    • camel-jackson
    • None
    • Unknown

    Description

      When ObjectMapper is autodiscovered from the beans registry ( autoDiscoverObjectMapper is set to true in JsonDataFormat), the following message is logged with warn severity:

      o.a.c.c.jackson.JacksonDataFormat : The objectMapper was already found in the registry, no customizations will be applied 

      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. 

      Attachments

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              orange-buffalo Bogdan Ilchyshyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: