jamesnetherton commented on code in PR #8366: URL: https://github.com/apache/camel-quarkus/pull/8366#discussion_r2876964854
########## extensions/observability-services/runtime/src/main/resources/application.properties: ########## @@ -16,6 +16,8 @@ ## --------------------------------------------------------------------------- quarkus.management.enabled=true quarkus.management.port=9876 +quarkus.camel.metrics.log-metrics-on-shutdown=true +quarkus.camel.metrics.log-metrics-on-shutdown-filters=app.info,camel.exchanges.* Review Comment: > Do you have any example by any chance? Example config here: https://github.com/apache/camel-quarkus/blob/bbe10ba1e78203bd6c7e0cac7bcb06efcfabf34c/integration-tests-jvm/cli-debug/src/main/resources/application.properties#L17-L25 If you know the log category, then you can have a dedicated log file for the messages you're interested in. Then in the tests, it's just a case of reading the log file content and doing some assertions on it (perhaps wrapped with `Awaitility.await`) . -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
