/log2mongo

Python decorator automatically captures and saves all logger output to MongoDB

Primary LanguagePythonMIT LicenseMIT

This is a demo to show technique to capture logger output and save to MongoDB

Environment:

  • Pyenv - Python 3.6.8
  • Pipenv
  • Pytest

See the tests directory to know how to use @log2mongo

pipenv run pytest