zconfig_watchedfile
Provides a ZConfig statement to register a logging handler that uses a WatchedFileHandler, which is helpful for integrating with an external logrotate service:
%import zconfig_watchedfile
<logger>
name example
<watchedfile>
path /path/to/logfile.log
</watchedfile>
</logger>
The <watchedfile> supports both the default ZConfig settings for handlers (formatter, dateformat, level) and the parameters of WatchedFileHandler (mode, encoding, delay).
This package is compatible with Python version 3.8 up to 3.11.
Change log for zconfig_watchedfile
2.0 (2023-08-17)
Drop support for all Python versions older than 3.8.
Add support for Python 3.9, 3.10, 3.11.
1.2 (2019-12-04)
Migrated to github.
Add support for Python 3.7 and 3.8.
1.1 (2019-01-25)
Make setup.py compatible with newer setuptools versions.
Drop support for Python 2.6.
1.0 (2013-11-29)
initial release
Metadata
Release files for zconfig-watchedfile 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zconfig_watchedfile-2.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zconfig_watchedfile-2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / zconfig_watchedfile-2.0.tar.gz
| Download URL | zconfig_watchedfile-2.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
122d9a3c91611faa9c49fb15f2875adfc2b77e5e3ebb386cb3a75f011c4e2a3e
|
|
BLAKE2b-256 checksum How to use checksums |
617d7525bad35c19a05450eb498af6bdec606c02990e6abc37218d008a4ffc6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / zconfig_watchedfile-2.0-py3-none-any.whl
| Download URL | zconfig_watchedfile-2.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93e2848de44da4954a21ee6d9dfa206e21119fd855206d23603b25abeaf20182
|
|
BLAKE2b-256 checksum How to use checksums |
71497bb20e5934bd109f7a38837df2e3704a4b2dbfa44b22b1eda5702fef6092
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|