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

camel-spring-boot - Changing LoggingLevel for Camel Log at runtime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.7.0, 3.8.0, 3.9.0, 3.10.0
    • 3.11.0
    • None
    • Unknown

    Description

      The default LogLevel is INFO. When i want to change this by spring boot actuator (JMX) to ERROR or WARN it works, but when i want to change it to DEBUG or TRACE it don't.

      If I set the LogLevel at the beginning to TRACE, I can change it down to any other Level manually.

      So decreasing works, but increasing the LogLevel dont.

      It only applied to logging in Camel Routes. It works great on any other Logging.

      In Version 3.6.0 and below it worked. All versions after that don't work anymore.

      It is also descibed hereĀ [https://stackoverflow.com/questions/66357203/changing-camel-log-level-at-runtime-using-spring-boot-actuator|Stackoverflow]

      Attachments

        1. logging.zip
          11 kB
          Christian Rossius

        Activity

          People

            davsclaus Claus Ibsen
            CRossius Christian Rossius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: