Skip to main content

UNKNOWN

Project description

Envlogfile

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>

Changelog

1.0.0 (2014-07-24)

  • First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.envlogfile-1.0.0.zip (10.2 kB view details)

Uploaded Source

File details

Details for the file collective.envlogfile-1.0.0.zip.

File metadata

File hashes

Hashes for collective.envlogfile-1.0.0.zip
Algorithm Hash digest
SHA256 13088214e3c66133691ecd1b233198da65b3359eb2eb94238f8c2959908c09d3
MD5 eab1a99fb660f1ce6d366150e9f7700d
BLAKE2b-256 6b114918125db184d988bb77d9e7ec5d708572695b07792aead404e46c081b34

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page