rosskouk / asknavidrome

An Alexa skill to allow streaming of music from Subsonic API compatible media servers on Amazon Echo devices.
https://rosskouk.github.io/asknavidrome
MIT License
48 stars 7 forks source link

[ISSUE] Setting NAVI_DEBUG=1 does not enable debug mode #20

Closed tam481 closed 1 year ago

tam481 commented 1 year ago

Describe the issue I cannot enable debug mode by setting NAVI_DEBUG=1

Operating System Raspberry Pi OS running Docker

To Reproduce Set the environment variable NAVI_DEBUG=1 and run the container. The output shows

Logs 2023-01-01 16:37:29,858 - root - INFO - AskNavidrome 0.6! 2023-01-01 16:37:29,859 - root - DEBUG - Getting configutration from the environment... 2023-01-01 16:37:29,859 - root - INFO - Skill ID set to: [redacted] 2023-01-01 16:37:29,859 - root - INFO - Minimum song count is set to: 50 2023-01-01 16:37:29,859 - root - INFO - The URL for Navidrome is set to: [redacted] 2023-01-01 16:37:29,860 - root - INFO - The Navidrome user name is set to: [redacted] 2023-01-01 16:37:29,860 - root - INFO - The Navidrome password is set 2023-01-01 16:37:29,860 - root - INFO - The Navidrome port is set to: 443 2023-01-01 16:37:29,861 - root - INFO - The Navidrome API path is set to: /rest 2023-01-01 16:37:29,861 - root - INFO - The Navidrome API version is set to: 1.16.1 2023-01-01 16:37:29,861 - root - DEBUG - Configuration has been successfully loaded 2023-01-01 16:37:29,862 - root - INFO - Log level set to INFO 2023-01-01 16:37:30,174 - asknavidrome.subsonic_api - INFO - Successfully connected to Navidrome 2023-01-01 16:37:30,381 - root - INFO - AskNavidrome Web Service is ready to start!

Comments I tried with an external env file as well as setting the env value inline to no avail.

tam481 commented 1 year ago

You need to set NAVI_DEBUG to 3 to get full debug mode