jacobalberty/unifi-docker

How to change log container log level?

beeyev opened this issue · 3 comments

beeyev commented

The docker container producing too many logs, how can change the log level to track only Warnings and Errors?

unifi  | [2024-01-07 22:19:38,445] <ble_state_check> DEBUG tasks  - Started task[ble_state_check]
unifi  | [2024-01-07 22:19:38,445] <ble_state_check> DEBUG tasks  - Finished task[ble_state_check] in 0 ms
unifi  | [2024-01-07 22:19:38,603] <tracer> DEBUG tasks  - Started task[tracer]
unifi  | [2024-01-07 22:19:38,603] <tracer> DEBUG tasks  - Finished task[tracer] in 0 ms
unifi  | [2024-01-07 22:19:43,426] <ble_bridge_discovery> DEBUG tasks  - Started task[ble_bridge_discovery]
unifi  | [2024-01-07 22:19:43,427] <ble_bridge_discovery> DEBUG tasks  - Finished task[ble_bridge_discovery] in 0 ms
unifi  | [2024-01-07 22:19:43,446] <ble_state_check> DEBUG tasks  - Started task[ble_state_check]
unifi  | [2024-01-07 22:19:43,447] <ble_state_check> DEBUG tasks  - Finished task[ble_state_check] in 1 ms
unifi  | [2024-01-07 22:19:43,604] <tracer> DEBUG tasks  - Started task[tracer]
unifi  | [2024-01-07 22:19:43,604] <tracer> DEBUG tasks  - Finished task[tracer] in 0 ms
unifi  | [2024-01-07 22:19:48,447] <ble_state_check> DEBUG tasks  - Started task[ble_state_check]
unifi  | [2024-01-07 22:19:48,447] <ble_state_check> DEBUG tasks  - Finished task[ble_state_check] in 0 ms

Steps to reproduce

No response

Relevant log output

No response

In the controller (8.0.26 is my version) under Settings and Advanced what are the logging levels set at? These settings are 2/3s of the way down the page.

I have this same question. My logging level is set at "auto", yet still seeing tons of DEBUG logging in syslog via docker container

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.