[
https://issues.apache.org/jira/browse/CAMEL-18254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561416#comment-17561416
]
Claus Ibsen commented on CAMEL-18254:
-------------------------------------
Also the source seems wrong as its metrics.yaml that set this via
uri: kamelet:timer-source?message=hello
> camel-jbang - Kamelets log their option 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.19.0
>
>
> 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)