Logging requests with log-level 'info'

System Information
  • Strapi Version: 3.6.2
  • Operating System: macOS & DigitalOcean’s App platform
  • Database: Postgres
  • Node Version: 14.16.1
  • Yarn Version: 1.22.10

Hi all!

I’m a bit confused on how to handle request logging with Strapi.
For my production environment, I’ve set my log-level to ‘info’ via the middleware settings. However, Koa requests are logged with the ‘dev’ level, so I don’t see them anymore.

Is this by design? I can imagine that it’s expected that you use the logs of your proxy (Apache/Nginx/Caddy/etc…), however that’s not available on DigitalOcean’s App platform as far as I know.
Is it possible to change the log level of these requests?

Thanks in advance!
Derk

1 Like