Provides ZConfig-compatible logfile handler called envlogfile, which is otherwise similar to the default logfile handler, but interpolates environment variables in the given log file path name.
path = self.section.path % os.environ
Usage with plone.recipe.zope2instance:
[instance] event-log-custom = %import collective.envlogfile <envlogfile> path %(MY_ENV_FOLDER)s/instance.log level INFO </envlogfile>
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
collective.envlogfile-1.0.0.zip (10.2 kB view hashes)