Overriding log level

I’m attempting to do the same thing, to get better logging to find the root of an error, and copied and pasted the code you provided into ./config/middleware.js, and the log level stays the same in the terminal, as “debug”. Running strapi with npm run develop.