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
-
1. Disable the Web Dashboard in your main app
In your main app's Errsole configuration, set
enableDashboard
tofalse
. This ensures that Errsole only collects and stores logs without starting the web dashboard.2. Run the Web Dashboard as a standalone app
On a separate server or the same server, create a new app and configure Errsole with
enableDashboard
set totrue
. Use the same storage configuration as your main app so this standalone app can access the logs generated by your main app. Once set up, you can access the web dashboard from this new app, independent of your main app.dashboard.js
For more details, refer to the Setup documentation.
Beta Was this translation helpful? Give feedback.
All reactions