How to enable debug logging in PMM

Description:

Can anyone help in providing details regarding how to configure “debug” logging in PMM? Changing the log_level in the grafana.ini file seems to have zero impact.

PMM version: 2.44.0

Grafana version: 9.2.20

Thanks.

Hello @j_a_y

Debugging can be enabled as mentioned here,

The document is from PMM 3.0 but same environmental variable was used in 2.0 as well.

  • Add the options --env PMM_DEBUG=1 and/or --env PMM_TRACE=1 if you need extended debug details

Enabling the option might generate huge logs, so make sure you monitor the volume where the logs are generated and also the performance is impacted.
Can we ask why do you need to enable debug logging? Are you facing any issue?

Thanks for this. Issue we were having was resolved and turned out was unrelated to PMM.