Logging configuration story with WSGI


Logger specific configuration like

  • number of log files to keep
  • max log file size
  • log level

could be configured in the "old" way using zope2instance options.

Now with WSGI you can either configure your own logging stuff using the standard Python logger handlers inside your wsgi.ini (see thread above) or use the specific logging options of the underlaying WSGI server like Waitress or Gunicorn.

Ideally zope2instance would provide the same amount of logger configurations for WSGI as we had it for ZServer with a default configuration.

Is there some ongoing work here?

To modify wsgi.ini by configuring zope2instance as you mentioned in

would be great.

I still have no (good) solution to integrate Sentry.