Read Service Log Settings
readServiceLogSettingsReads a service's live log settings and explains what each setting captures, including database log categories and Redis counters, so you can verify logging behavior.
Instructions
Returns the settings that decide what the service's log holds, read from the running engine (PostgreSQL's log_* settings, MySQL's error log and deadlock settings, Redis's slowlog and memory policy) or, for the service the app's address routes to, from the ingress. Also returns what they mean for each category of the log, as the service's logFormat sorts it, and, for Redis, lines built from its memory and error counters, which Redis never logs. serviceName is a compose service.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceSlug": "<workspaceSlug>",
"appSlug": "<appSlug>",
"serviceName": "<serviceName>"
},
"name": "readServiceLogSettings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| region | No | ||
| appSlug | Yes | ||
| serviceName | Yes | ||
| workspaceSlug | Yes |