Replies: 1 comment
-
Thanks. Got it. The ersole-web is just import errsole from "errsole";
import ErrsolePostgres from "errsole-postgres";
errsole.initialize({
storage: new ErrsolePostgres({
host: "localhost", // Replace with your actual PostgreSQL host
user: "postgres", // Replace with your actual PostgreSQL user
password: "postgres", // Replace with your actual PostgreSQL password
database: "errsole", // Replace with the name of your PostgreSQL database
}),
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To run the Errsole Dashboard on a separate server from your main app, follow these steps:
enableDashboard
tofalse
. This will ensure that Errsole only collects and stores logs without starting the web dashboard. For more details, refer to the Errsole Advanced Configuration.enableDashboard
set totrue
. Use the same Errsole storage configuration as your main app to share the logs between both apps. You can then access the web dashboard from this new app. For more details, refer to Web Dashboard Access.This way, your main app focuses on logging, while the separate app handles the dashboard.
Beta Was this translation helpful? Give feedback.
All reactions