Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mukhopadhyay/monolg

An Easy centralized logging for Python using MongoDB
https://github.com/mukhopadhyay/monolg

centralized contributions-welcome logging mongodb open-source pr-welcome python

Last synced: 21 days ago
JSON representation

An Easy centralized logging for Python using MongoDB

Awesome Lists containing this project

README

        

# monolg
Centralized logging for Python using MongoDB

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) [![ReadTheDocs](https://readthedocs.org/projects/monolg/badge/?version=latest)](https://monolg.readthedocs.io/en/latest/?version=latest)

[![Tests](https://github.com/Mukhopadhyay/monolg/actions/workflows/tests.yml/badge.svg)](https://github.com/Mukhopadhyay/monolg/actions/workflows/tests.yml)

[![PyPi](https://img.shields.io/pypi/v/monolg.svg)](https://pypi.python.org/pypi/monolg)

+ **Licence**: MIT License
+ **Documentation**: https://monolg.readthedocs.io

## What is `monolg`?
You know those times when you've deployed your applications on the cloud, which logs every step of way precisely onto your `*.log` files, and now everytime you know the application misbehaves you cannot be bothered to look into those log files.

**This never happened to you?!**

Let's not lie of course it has, and you know settings up Elastic stack will fix alot of your problems, but thats just ALOT OF WORK!!

That is where we want this project to come in, The monolg package should give you an easy to use API for logging all of your steps in your local MongoDB instance or even better your `MongoDB` Cloud (For which you know you have plenty out of those 512 MBs laying around)

## Installation

Monolg can be installed from PyPI using the following:

```bash
$ pip install monolg
```

## Getting started

```python
from monolg import Monolg

mlog = Monolg()
mlog.info("Welcome to monolg")
```