plone / plone.recipe.zope2instance

zc.buildout recipe to setup and configure a Zope 2 instance.
https://pypi.org/project/plone.recipe.zope2instance
6 stars 23 forks source link

`build_wsgi_ini` should handle log file rotation in analogy with `build_zope_conf` #179

Closed d-maurer closed 1 month ago

d-maurer commented 3 years ago

recipe.Recipe.build_zope_conf configures for use of the RotatingFileHandler when it sees rotating log options. build_wsgi_ini does not.

As a consequence, the rotation spec in the default Plone buildout configuration has not effect.

ksuess commented 1 month ago

For those stumbling over extending log files like me: See "Advanced logging options for WSGI" in README.rst for changed configuration of log rotation with rotating handlers of logging.handlers when using wsgi.