gnodet opened a new pull request, #23415: URL: https://github.com/apache/camel/pull/23415
## Summary - Enable simple log tracer standby (`tracingStandby`) in dev profile, matching how backlog tracer standby is already auto-enabled - Users can now toggle log-based tracing on/off at runtime in dev mode without restarting (`camel run` or Camel Main) - Add tests verifying dev profile standby behavior - Document the automatic standby in tracer.adoc ## Background The `--trace` flag for `camel run` must be specified at launch time because `TracingAdvice` interceptors are woven into route processor chains only during route initialization. Without standby mode, there is no way to toggle tracing on at runtime. The backlog tracer already had standby auto-enabled in dev profile (`ProfileConfigurer.java`), but the simple log tracer (what `--trace` controls) was missed. ## Test plan - [x] `MainDevProfileTracingStandbyTest.testDevProfileEnablesTracingStandby` — verifies dev profile sets `tracingStandby=true` - [x] `MainDevProfileTracingStandbyTest.testDevProfileTracingCanBeEnabledAtRuntime` — verifies tracer can be toggled on at runtime - [x] `MainDevProfileTracingStandbyTest.testProdProfileDoesNotEnableTracingStandby` — verifies prod profile does not set standby - [x] Existing `TracingStandbyTest` and `TracingStandbyNoRouteTest` still pass -- 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]
