This is not the correct way to select to use a sublogger. The logging documents explicitly state that the name attribute should be considered to be read-only.
The consequence is that it is impossible to filter messages from this sublogger (which is how I noticed it).
In each of twitchAPI/eventsub/websocket.py and twitchAPI/eventsub/webhook.py there is a line of the form:
This is not the correct way to select to use a sublogger. The logging documents explicitly state that the
name
attribute should be considered to be read-only.The consequence is that it is impossible to filter messages from this sublogger (which is how I noticed it).
The correct way is of the form: