This article provides instructions for changing the schema logging level for troubleshooting purposes.
The schema is crashing in all Contrail nodes. How can I get more information about the failure?
The schema logging level in Contrail can be increased from Schema Introspect. Perform the following steps:
Find the IP address of the active schema node in your environment by using the following command in all the nodes: contrail-status | grep active .
contrail-status | grep active
# contrail-status | grep schema config schema contrail-controller-config-schema running 76914072e7f2 Up 6 days schema: active
Note down the IP address of the active schema node.
Log in to Contrail Schema Introspect at http:// <active schema controller ip> :8087. The following screen appears.
Click sandesh_uve .
Click SandeshLoggingParamsSet and in the log_level(string) field, enter SYS_DEBUG as the value. Click Send .
SYS_DEBUG
A successful log level change is indicated as shown below:
To revert to the earlier logging level, click SandeshLoggingParamsSet and in the log_level(string) field, enter SYS_NOTICE . Click Send.
SYS_NOTICE
Note: Restart of schema will automatically revert the logging level from SYS_DEBUG to SYS_NOTICE .