From 3bfa2773bdee03646e89e38367ef76a7b97a66af Mon Sep 17 00:00:00 2001 From: 0xSage <69952136+0xSage@users.noreply.github.com> Date: Sun, 14 Jan 2024 23:43:44 +0800 Subject: [PATCH] chore: teach how to attach logs (#1578) Co-authored-by: Van Pham <64197333+Van-QA@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug_report.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index fd2e0367d..c081d4414 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -31,8 +31,10 @@ If applicable, add screenshots to help explain your issue. - Any additional relevant hardware specifics: [e.g., Graphics card, SSD/HDD] **Logs** -- Go to`~/jan/logs` > `app.log`. Or, via UI, click on Settings > Advanced > Open App Directory > `app.log` -- If you are using Jan local api server only, grab the `server.log` instead of `app.log`. +If the cause of the error is not clear, kindly provide your usage logs: +- `tail -n 50 ~/jan/logs/app.log` if you are using the UI +- `tail -n 50 ~/jan/logs/server.log` if you are using the local api server +Making sure to redact any private information. **Additional context** Add any other context or information that could be helpful in diagnosing the problem.