===================
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.
.. _`WatchedFileHandler`: https://docs.python.org/3.11/library/logging.handlers.html#watchedfilehandler
==================================
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
Raw data
{
"_id": null,
"home_page": "https://github.com/gocept/zconfig_watchedfile",
"name": "zconfig-watchedfile",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "ZConfig WatchedFileHandler logging handler",
"author": "gocept <mail@gocept.com>",
"author_email": "mail@gocept.com",
"download_url": "https://files.pythonhosted.org/packages/61/7d/7525bad35c19a05450eb498af6bdec606c02990e6abc37218d008a4ffc6a/zconfig_watchedfile-2.0.tar.gz",
"platform": null,
"description": "===================\nzconfig_watchedfile\n===================\n\nProvides a ZConfig statement to register a logging handler that uses a\n`WatchedFileHandler`_, which is helpful for integrating with an external\nlogrotate service::\n\n %import zconfig_watchedfile\n <logger>\n name example\n\n <watchedfile>\n path /path/to/logfile.log\n </watchedfile>\n </logger>\n\nThe ``<watchedfile>`` supports both the default ZConfig settings for handlers\n(formatter, dateformat, level) and the parameters of `WatchedFileHandler`_\n(mode, encoding, delay).\n\nThis package is compatible with Python version 3.8 up to 3.11.\n\n.. _`WatchedFileHandler`: https://docs.python.org/3.11/library/logging.handlers.html#watchedfilehandler\n\n\n==================================\nChange log for zconfig_watchedfile\n==================================\n\n2.0 (2023-08-17)\n================\n\n- Drop support for all Python versions older than 3.8.\n\n- Add support for Python 3.9, 3.10, 3.11.\n\n\n1.2 (2019-12-04)\n================\n\n- Migrated to github.\n\n- Add support for Python 3.7 and 3.8.\n\n\n1.1 (2019-01-25)\n================\n\n- Make `setup.py` compatible with newer `setuptools` versions.\n\n- Drop support for Python 2.6.\n\n\n1.0 (2013-11-29)\n================\n\n- initial release\n",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "ZConfig statement to register a logging handler using WatchedFileHandler",
"version": "2.0",
"project_urls": {
"Homepage": "https://github.com/gocept/zconfig_watchedfile"
},
"split_keywords": [
"zconfig",
"watchedfilehandler",
"logging",
"handler"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "71497bb20e5934bd109f7a38837df2e3704a4b2dbfa44b22b1eda5702fef6092",
"md5": "247cc4041f950b82089837591b64629b",
"sha256": "93e2848de44da4954a21ee6d9dfa206e21119fd855206d23603b25abeaf20182"
},
"downloads": -1,
"filename": "zconfig_watchedfile-2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "247cc4041f950b82089837591b64629b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5334,
"upload_time": "2023-08-17T05:51:47",
"upload_time_iso_8601": "2023-08-17T05:51:47.757414Z",
"url": "https://files.pythonhosted.org/packages/71/49/7bb20e5934bd109f7a38837df2e3704a4b2dbfa44b22b1eda5702fef6092/zconfig_watchedfile-2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "617d7525bad35c19a05450eb498af6bdec606c02990e6abc37218d008a4ffc6a",
"md5": "0fab35fc2eb4fd6f7a5dbd783c6ed57a",
"sha256": "122d9a3c91611faa9c49fb15f2875adfc2b77e5e3ebb386cb3a75f011c4e2a3e"
},
"downloads": -1,
"filename": "zconfig_watchedfile-2.0.tar.gz",
"has_sig": false,
"md5_digest": "0fab35fc2eb4fd6f7a5dbd783c6ed57a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5236,
"upload_time": "2023-08-17T05:51:49",
"upload_time_iso_8601": "2023-08-17T05:51:49.423462Z",
"url": "https://files.pythonhosted.org/packages/61/7d/7525bad35c19a05450eb498af6bdec606c02990e6abc37218d008a4ffc6a/zconfig_watchedfile-2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-17 05:51:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gocept",
"github_project": "zconfig_watchedfile",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "zconfig-watchedfile"
}