Getting a debug log for a specific component

Im trying to debug a connection to my deluge client and I want to add the debug to the logs. This is my configuration.yaml

logger:
   default: error
   logs:
      homeassistant.components.sensor.deluge: debug

But the only error im getting in my logs is:

 (Thread-21) [homeassistant.components.sensor.deluge] Connection to Deluge Daemon failed

how can I increase the level of logging to debug so that I can figure out this problem?

logger:
   default: debug
2 Likes