Managing Logs
Dynamic Log Levels
Pinot supports inspecting and modifying Log4J log levels dynamically in production environments through REST. This can often be helpful when debugging an issue that is transient in nature and restarting the server with new configurations files could alter the behavior.
Supported Operations
List All Loggers
Parameter Type | Parameter Name | Description |
---|---|---|
Header |
| Setting to |
Sample Usage:
Fetch Specific Logger
Parameter Type | Parameter Name | Description |
---|---|---|
Header |
| Setting to |
Path Parameter |
| The name of the logger (fully qualified path) |
Sample Usage:
Set Logger Level
Parameter Type | Parameter Name | Description |
---|---|---|
Header |
| Setting to |
Path Parameter |
| The name of the logger (fully qualified path) |
Query Parameter |
| the log level (such as |
Sample Usage
Downloading Component Logs
Pinot supports downloading logs directly over HTTP in situations where the operator may not have access to the container, but has access to the rest endpoints.
If the operator has access to the Controller, they can download log files from any one of the other components.
Supported Operations
List Available Log Files
Parameter Type | Parameter Name | Description |
---|---|---|
Header |
| Setting to |
Download a Log File
Parameter Type | Parameter name | Description |
---|---|---|
Header |
| Setting to |
Query Parameter |
| The path to the file, can be obtained using |
Remote Log APIs
These APIs are only supported on the Controller
List Log Files on All Instances
Parameter Type | Parameter Name | Description |
---|---|---|
Header |
| Setting to |
List Log Files on a Specific Instance
Parameter Type | Parameter Name | Description |
---|---|---|
Header |
| Setting to |
Path Parameter |
| Indicates which instance to collect logs from |
Download Remote Log From Given Instance
Parameter Type | Parameter Name | Description |
---|---|---|
Header |
| Setting to |
Path Parameter |
| Indicates which instance to collect logs from |
Query Parameter |
| Indicates which file to download |
Last updated