Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs on how to get error logs for bug report #40

Open
butschster opened this issue Jun 22, 2024 · 0 comments
Open

Add docs on how to get error logs for bug report #40

butschster opened this issue Jun 22, 2024 · 0 comments
Assignees

Comments

@butschster
Copy link
Member

butschster commented Jun 22, 2024

If you're using Docker on Windows, the best solution is to open the files tab in the Docker app and follow the path /app/runtime/snapshots. Find the snapshot with your error, open it, and send me the logs.
image

If you use cli, First, list the snapshots with this command:

docker compose exec buggregator ls /app/runtime/snapshots

Where buggregator is a container name.

In this folder /app/runtime/snapshots, Buggregator collects all the server errors.

After that, you’ll see a list of all snapshots.

Here is an output example

docker compose exec buggregator-server ls /app/runtime/snapshots
17.06.2024-1813.30-ClientException.txt  17.06.2024-1813.54-ClientException.txt
17.06.2024-1813.35-ClientException.txt  17.06.2024-1813.55-ClientException.txt
17.06.2024-1813.36-ClientException.txt  17.06.2024-1813.56-ClientException.txt
17.06.2024-1813.38-ClientException.txt  17.06.2024-1813.57-ClientException.txt
17.06.2024-1813.39-ClientException.txt  17.06.2024-1814.02-ClientException.txt
17.06.2024-1813.41-ClientException.txt  17.06.2024-1814.05-ClientException.txt
17.06.2024-1813.42-ClientException.txt  17.06.2024-1814.11-ClientException.txt

To view the specific error log, use this command:

docker compose exec buggregator cat /app/runtime/snapshots/17.06.2024-1813.30-ClientException.txt

Where 17.06.2024-1813.30-ClientException.txt is the name of the snapshot file.

@butschster butschster self-assigned this Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant