errsole.js

Collect, Store, and Visualize Logs with a Single Module

332
47
JavaScript

Collect, Store, and Visualize Logs with a Single Module

Errsole is an open-source logger for Node.js. It has a built-in web dashboard to view, filter, and search your app logs.

https://github.com/errsole/errsole.js/assets/3775513/b59424fa-c3b3-4a65-b603-e35499fe4263

Features

Minimal Setup

Just include the Errsole package in your code—no need for dedicated servers, software installations, or complicated configurations.

Logger++

Errsole automatically collects all logs from the Node.js console. Additionally, it provides a custom logger with multiple log levels and allows you to include metadata with your logs for better context. Read More

Store Anywhere

Store your logs wherever you want—whether in a file or any database of your choice. You can also configure log rotation to specify how long logs should be retained.

Web Dashboard

View, filter, and search through your logs using the built-in Web Dashboard. Secure authentication and team management features ensure that only you and your team can access the logs.

Critical Error Notifications

Get immediate notifications when your app crashes or encounters critical errors. The notification includes the error message, the app name, the environment, the server name, and a direct link to view the error in your logs.

Benchmarks

A Node.js app using Errsole Logger can handle 90,000 more requests per minute than when using Elasticsearch and 70,000 more requests per minute than when using Amazon CloudWatch. Read More

errsole-vs-elasticsearch-benchmarks

Setup

Development Environment

For local development or scenarios where you prefer storing logs directly on the server, you can integrate Errsole with SQLite. When using SQLite, logs will be stored in a file on your machine.

Production Environment

In production environments, where centralized log storage is critical, Errsole offers multiple storage options to fit your needs:

Advanced Configuration

Custom Logging Functions

Web Dashboard Access

Integrations

FAQs

Useful Links

  • Encountering issues? Open an issue on our GitHub repository.

  • Have questions? Use our Q&A forum.

  • Want to request a feature or share your ideas? Use our discussion forum.

  • Want to contribute? First, share your idea with the community in our discussion forum to see what others are saying. Then, fork the repository, make your changes, and submit a pull request.

License

MIT