Knowledge Base Article

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:
 
  1. Enable SI CLI
  2. 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
No CommentsBe the first to comment