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

camel-jbang - Kamelets should only log explicit configured options on startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.20.0
    • camel-jbang
    • None
    • Unknown

    Description

      We should look at making kamelets not log their default options, as that is a bit noisy.

      For example running

      camel-kamelets-examples/jbang/metrics main *1 ❯ camel run metrics.yaml --console

      You see

      2022-07-01 12:57:44.883 INFO 54705 — [ main] org.apache.camel.main.BaseMainSupport : Property-placeholders summary
      2022-07-01 12:57:44.883 INFO 54705 — [ main] org.apache.camel.main.BaseMainSupport : [timer-source.kamelet.yaml] period=1000
      2022-07-01 12:57:44.884 INFO 54705 — [ main] org.apache.camel.main.BaseMainSupport : [timer-source.kamelet.yaml] message=hello
      2022-07-01 12:57:44.884 INFO 54705 — [ main] org.apache.camel.main.BaseMainSupport : [timer-source.kamelet.yaml] contentType=text/plain
      2022-07-01 12:57:44.884 INFO 54705 — [ main] org.apache.camel.main.BaseMainSupport : [timer-source.kamelet.yaml] templateId=timer-source

      The only specific option we use in this example is message=hello. The other values are default values.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: