https://github.com/afxentios/python_logging_configuration_sample
Sample for the python logging configuration setup
https://github.com/afxentios/python_logging_configuration_sample
config-logger configuration logging python
Last synced: 11 months ago
JSON representation
Sample for the python logging configuration setup
- Host: GitHub
- URL: https://github.com/afxentios/python_logging_configuration_sample
- Owner: afxentios
- License: mit
- Created: 2017-01-31T15:18:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-05T11:13:53.000Z (about 9 years ago)
- Last Synced: 2025-06-28T14:41:06.735Z (12 months ago)
- Topics: config-logger, configuration, logging, python
- Language: Python
- Size: 3.91 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Sample for the config-logger and python logging configuration setup
===================================================================
Description
-----------
This repository contains an example of logging configuration which is required to be passed to the python module
`config-logger`_, in order to configure your logging for a python project. The logging configuration exists in the three
differentT formats that `config-logger`_ supports - YAML, JSON, Dictionary. The contents of this dictionary are
described in `Configuration dictionary schema`_.
In addition, the dictionary example - `logging.py`_ - can be also used as an example for the configuration of the
standard python module logging and passed to its method `dictConfig()`_.
License
-------
This project is licensed under the MIT license.
.. _config-logger: https://github.com/afxentios/config-logger
.. _Configuration dictionary schema: https://docs.python.org/2.7/library/logging.config.html#logging-config-dictschema
.. _logging.py: https://github.com/afxentios/python_logging_configuration_sample/blob/master/logging.py
.. _dictConfig(): https://docs.python.org/2.7/library/logging.config.html#logging.config.dictConfig