Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mukhopadhyay/monolg
- Owner: Mukhopadhyay
- License: mit
- Created: 2022-09-29T07:35:32.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T17:52:31.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T13:23:52.354Z (about 1 month ago)
- Topics: centralized, contributions-welcome, logging, mongodb, open-source, pr-welcome, python
- Language: Python
- Homepage: https://pypi.org/project/monolg/
- Size: 334 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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 Monolgmlog = Monolg()
mlog.info("Welcome to monolg")
```