Discord Logger

Logging utility packages for JavaScript and Python

JavaScript

AxiosWebHooks1000+ downloads

Python

RequestWebHooks3000+ downloads
npmjsGitHub
PyPiGitHub
project screenshot

Problem

Developers usually have to rely on their hosting provider for storage of and access to logging. This can become cumbersome when managing multiple projects or incur cost if a log management service is used.

Solution

This project aims to provide a centralised approach to log aggregation and monitoring for small projects. By utilising the webhook functionality of Discord, application logs can be automatically delivered to a users own free server. Different channels can be used for each log level allowing for push notifications upon the occurance of log levels of the users choice.

Setup is minimal- the respective package only needs be added to the Node.js or Python based project. Within the project the package is initialised with the Discord webhook and then called in the same way as standard console logs.

Key Challenges

What I Learned

These paired projects allowed an opportunity to gain experience in the deployment of open source packages while also developing tools that I can use in my own projects. I was also able to learn more about the implementation of SaaS webhooks.