The logger module is telling the client it's interested in messages that are going to be filtered out by the filters afterwards, causing KockaLogger to make unneeded API/Redis requests.
Reproduction steps
Steps to reproduce the behavior:
Set up a Discussions-only logger for a wiki.
Set up an HTTP request logger.
Create a page on the wiki.
Check whether an API request was made to fetch the page title.
Expected behavior
There should be no interest shown in messages that aren't going to be shown.
Notes
Doing filtering inside interested() may create different issues due to titles not being the page's actual titles before the title information is checked. A different configuration option may need to be set up for this.
Description
The
logger
module is telling the client it's interested in messages that are going to be filtered out by the filters afterwards, causing KockaLogger to make unneeded API/Redis requests.Reproduction steps
Steps to reproduce the behavior:
Expected behavior
There should be no interest shown in messages that aren't going to be shown.
Notes
Doing filtering inside
interested()
may create different issues due to titles not being the page's actual titles before the title information is checked. A different configuration option may need to be set up for this.