You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/03 14:58:00 UTC

[jira] [Updated] (CAMEL-18254) camel-jbang - Kamelets should only log explicit configured options on startup

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

Claus Ibsen updated CAMEL-18254:
--------------------------------
    Fix Version/s: 3.x
                       (was: 3.19.0)

> camel-jbang - Kamelets should only log explicit configured options on startup
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-18254
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18254
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)