MortenS's avatar

MortenS wrote a reply+100 XP

1w ago

Unable to disable deprecations logging

I was also stumped by this, but it's actually explained in the docs:

Or, you may define a log channel named deprecations. If a log channel with this name exists, it will always be used to log deprecations

So if you want to be able to toggle deprecation logging on/off via .env, you have to rename the deprecations channel to something else.