collective.envlogfile-1.0.0
توضیحات
UNKNOWN
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | collective.envlogfile-1.0.0 |
| نام | collective.envlogfile |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Asko Soukka |
| ایمیل نویسنده | asko.soukka@iki.fi |
| آدرس صفحه اصلی | https://github.com/datakurre/collective.envlogfile |
| آدرس اینترنتی | https://pypi.org/project/collective.envlogfile/ |
| مجوز | EUPL |
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.
.. code:: python
path = self.section.path % os.environ
Usage with `plone.recipe.zope2instance`_:
.. _ZConfig: https://pypi.python.org/pypi/ZConfig
.. _plone.recipe.zope2instance: https://pypi.python.org/pypi/plone.app.zope2instance
.. code:: ini
[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.
نحوه نصب
نصب پکیج whl collective.envlogfile-1.0.0:
pip install collective.envlogfile-1.0.0.whl
نصب پکیج tar.gz collective.envlogfile-1.0.0:
pip install collective.envlogfile-1.0.0.tar.gz