Configuring logging for the Quote server
You can configure logging in the Quote Server Docker container by running the
set-trace-specification script.
Procedure
Navigate to the /SETUP/bin/ directory.
- Navigate to the /SETUP/bin/ directory.
-
Run the set-trace-specification script with the
component or components that you want to be traced.
./set-trace-specification com.hcl.commerce.rfq=TRACEThe following table includes the trace strings that are available specifically for the Quote Server Docker container. In some cases, you might need to enable trace strings in multiple servers to fully troubleshoot a component. For more information, see the MustGather sections in Trace components.
Component Trace string All Quote Logs com.hcl.commerce.rfq=TRACELogging Aspect com.hcl.commerce.rfq.logging.RFQLoggingAdvice=TRACEException logs com.hcl.commerce.rfq.logging=TRACE:com.hcl.commerce.rfq.exception=TRACEController logs com.hcl.commerce.rfq.logging=TRACE:com.hcl.commerce.rfq.controller=TRACEService logs com.hcl.commerce.rfq.logging=TRACE:com.hcl.commerce.rfq.service=TRACEUtility logs com.hcl.commerce.rfq.logging=TRACE:com.hcl.commerce.rfq.util=TRACESecurity logs com.hcl.commerce.rfq.logging=TRACE:com.hcl.commerce.rfq.security=TRACENote:- When configured as
trace, all messages are displayed. - When configured as
info, all messages at levelsinfothroughfatalare displayed.
Note: You can view the quote serve logs as follows:- The following command may be used to view quote logs
from outside the Quote Server Docker
container:
docker logs -f commerce_rfq_1 - You can also view the trace log file at /SETUP/app/logs/trace.log location .
- When configured as