Changing Log Level for specific service
When debugging particular APIs, we would need to increase the verbosity of a particular service. This document describes how to perform this operation:
- Enable SI CLI
- Run the following command:
si loggers set -service $SERVICE_NAME -level $LOG_LEVEL
# Example, setting log level for API Gateway service to debug
si loggers set -service api-gateway -level DEBUG
3. The service will print the following message to the log to indicate it has changed verbose:
Updating logger for api-gateway in /var/log/sisense log level: DEBUG
Updated 02-05-2024
intapiuser
Admin
Joined December 15, 2022