Overriding log level

Hello, see the middleware documentation for the logger here: https://strapi.io/documentation/v3.x/concepts/middlewares.html#request-middlewares

You will need to create (or update if the file already exists) the ./config/middleware.js file with the proper log level from here: https://strapi.io/documentation/v3.x/cli/CLI.html#strapi-start

So something like:

module.exports = {
  //...
  settings: {
    logger: {
      level: "trace",
    },
  },
  //...
};
2 Likes