MCPcopy Index your code
hub / github.com/errsole/errsole.js

github.com/errsole/errsole.js @v2.18.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.18.2 ↗ · + Follow
221 symbols 401 edges 71 files 0 documented · 0% updated 9mo agov2.18.2 · 2025-07-30★ 6564 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Collect, Store, and Visualize Logs with a Single Module

<a href="#setup">Setup</a> |
<a href="https://github.com/errsole/errsole.js/blob/master/docs/advanced-configuration.md">Advanced Configuration</a> |
<a href="https://github.com/errsole/errsole.js/blob/master/docs/advanced-logging-functions.md">Advanced Logging Functions</a>







<img src="https://github.com/user-attachments/assets/62746b2f-3cc6-4377-8284-3b6463ae2b9d" height="30"/>
<img src="https://github.com/user-attachments/assets/baf5025c-d7e4-4344-baf1-65cc0613602e" height="30"/>
<img src="https://github.com/user-attachments/assets/97b93168-722b-44be-a5a8-88aea0b3a792" height="30"/>
<img src="https://github.com/user-attachments/assets/e83158ac-730d-46bc-bb62-3e55ac5ff693" height="30"/>







<img src="https://img.shields.io/github/v/release/errsole/errsole.js" alt="Release Version" />
<img src="https://img.shields.io/github/last-commit/errsole/errsole.js" alt="Last Commit" />
<img src="https://img.shields.io/github/license/errsole/errsole.js" alt="License" />
<a href="https://coveralls.io/github/errsole/errsole.js">
  <img src="https://coveralls.io/repos/github/errsole/errsole.js/badge.svg" alt="Coverage Status" />
</a>

Errsole is an open-source logger for Node.js apps. It comes with a built-in log viewer to view, filter, and search your app logs.

https://github.com/user-attachments/assets/ddb68538-f6eb-4416-b761-e215328f177f

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 advanced logging functions that support multiple log levels and the ability to attach metadata to logs. 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.

Log Viewer

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 server.

Production Environment

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

Advanced Configuration

Advanced Logging

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

Extension points exported contracts — how you extend this code

Options (Interface)
(no doc)
types/errsole.d.ts
Logger (Interface)
(no doc)
types/errsole.d.ts
LoggerContext (Interface)
(no doc)
types/errsole.d.ts
ProxyMiddlewareOptions (Interface)
(no doc)
types/errsole.d.ts
KoaProxyOptions (Interface)
(no doc)
types/errsole.d.ts

Core symbols most depended-on inside this repo

getStorageConnection
called by 35
lib/main/server/storageConnection.js
createLogger
called by 14
lib/errsole.js
removeUser
called by 11
lib/web/src/actions/userActions.js
format
called by 11
lib/web/src/services/httpServices.js
withRouter
called by 9
lib/web/src/hoc/WithRouter.js
updateSlackDetails
called by 6
lib/web/src/actions/appActions.js
getEmailDetails
called by 6
lib/web/src/actions/appActions.js
handleUncaughtExceptions
called by 5
lib/main/index.js

Shape

Function 204
Class 12
Interface 5

Languages

TypeScript100%

Modules by API surface

lib/web/src/components/ConsoleLogs.js39 symbols
lib/web/src/components/Integrations.js21 symbols
lib/web/src/components/ConsoleCombinedLogs.js16 symbols
lib/web/src/actions/appActions.js16 symbols
lib/web/src/actions/userActions.js14 symbols
lib/web/src/components/Header.js13 symbols
lib/main/index.js11 symbols
lib/web/src/components/DataRetention.js10 symbols
lib/web/src/components/Sidebar.js9 symbols
lib/web/src/components/Login.js9 symbols
lib/web/src/components/Developers.js9 symbols
lib/main/logs/index.js8 symbols

Datastores touched

(mongodb)Database · 1 repos

For agents

$ claude mcp add errsole.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page