Skip to content

Getting logging to work in custom quirk #2511

Closed Answered by TheJulianJES
hastarin asked this question in Q&A
Discussion options

You must be logged in to vote

"Warning" logs should definitely work. Did you try them in an __init__ function (something that's definitely called)? (Is the quirk picked up properly for the device? (can be seen on device page)

IIRC, if your quirk file is called test.py, it should be enough to set test: debug to switch that custom quirk logger to debug.
If it's in a folder, it should be folder.file: debug.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hastarin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants