Description:
The new dragnet logging requires a variable to be set with potentially a long list of rules. There's no way to explain why you've added that rule which may come from normal filtering, requests by support to track a specific issue etc etc. It's really convenient to have that as months or years later you may not remember or even know the reason and remove a filter that's there for a reason.
my /etc/my.cnf has various comments to remind me of settings for this specific reason and some are for unfixed bugs / FRs from several years ago.
How to repeat:
See above.
My current setup (and it will get bigger is:
myuser@myhost [(none)]> show global variables like '%dragnet%';
+--------------------------------+---------------------------------------------------------------------------+
| Variable_name | Value |
+--------------------------------+---------------------------------------------------------------------------+
| dragnet.log_error_filter_rules | IF err_code == 10927 or err_code == 10914 or err_code == 10926 then drop. |
+--------------------------------+---------------------------------------------------------------------------+
Why did I set this? No idea. You can guess but may not know. I'd like to be able to document for others.
Suggested fix:
Please allow comments in the language such as /* a comment */