Configuring logging on the Orchestration server
You can configure logging on the Orchestration Server Docker container by running the set-trace-specification script.
Procedure
Use the set-trace-specification script to configure the trace specification
within your Orchestration Server Docker container.
- Navigate to /SETUP/bin/ directory.
- Run the set-trace-specification script with the
component or components that you want to be
traced.
./set-trace-specification TRACE_COMPONENT_WITH_LEVEL
The following trace string is available specifically for the Orchestration
Server Docker container. Sometimes, you might need to enable trace strings
in multiple servers to troubleshoot a component thoroughly. For more
information, see the MustGather sections in Trace components.
MustGather | Trace string |
---|---|
Orchestration and Apache camel related issue | com.hcl.commerce.orchestration=TRACE :org.apache.camel=TRACE |
Available log levels are:
- trace
- debug
- info
- warn
- error
- fatal
You can reset the logging configuration logging in the Orchestration Server
Docker container by running the
reset-trace-specification script.
- Navigate to /SETUP/bin/ directory.
- Run reset-trace-specification, this
resets the set trace specification back to the default logging level of
INFO.
./reset-trace-specification
Note:
- When configured as a trace, all messages are displayed.
- All messages are displayed except those tagged as trace when configured as debug.
- All messages at levels info through fatal are displayed when configured as info.
- Server-side API client log messages are displayed at the info level by default.