BlogsMilvusDynamic Log Level Control

Dynamic Log Level Control

Dynamic Log Level Control

1
posts
2022

Milvus introduces dynamic log level control via an HTTP interface on port 9091, allowing engineers to adjust logging verbosity (debug, info, warn, error, dpanic, panic, fatal) without service restarts. This mechanism leverages the Uber zap logger's http_handler.go module, enabling real-time performance debugging and issue identification.

2022

Dynamically Change Log Levels in the Milvus Vector Database

9/21/2022

This post details the implementation and usage of dynamic log level adjustment in Milvus. It explains how the Uber zap logger's HTTP handler is integrated to expose a `/log/level` endpoint on port 9091. Instructions are provided on how to query the current log level and change it using `curl` commands, specifying levels such as debug, info, warn, error, dpanic, panic, and fatal.