where is the log file position? #1562

Closed
opened 2026-02-16 17:31:34 -05:00 by yindo · 2 comments
Owner

Originally created by @EachenL on GitHub (Sep 1, 2025).

Originally assigned to: @rekram1-node on GitHub.

Originally created by @EachenL on GitHub (Sep 1, 2025). Originally assigned to: @rekram1-node on GitHub.
yindo closed this issue 2026-02-16 17:31:34 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 1, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #387: Error: Unexpected error, check log file at - This issue discusses log file locations and where they are stored when errors occur
  • #1724: Feature Request: Add project logs to context - This issue discusses the need to specify and locate log files on a per-project basis

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 1, 2025): This issue might be a duplicate of existing issues. Please check: - #387: Error: Unexpected error, check log file at - This issue discusses log file locations and where they are stored when errors occur - #1724: Feature Request: Add project logs to context - This issue discusses the need to specify and locate log files on a per-project basis Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Sep 1, 2025):

@EachenL run opencode debug paths to see all the files

from docs:

Log files are written to:
macOS/Linux: ~/.local/share/opencode/log/
Windows: %APPDATA%\opencode\log
Log files are named with timestamps (e.g., 2025-01-09T123456.log) and the most recent 10 log files are kept.
You can configure the log level in your config file to get more detailed debug information.

@rekram1-node commented on GitHub (Sep 1, 2025): @EachenL run `opencode debug paths` to see all the files [from docs](https://opencode.ai/docs/troubleshooting/#logs): > Log files are written to: macOS/Linux: ~/.local/share/opencode/log/ Windows: %APPDATA%\opencode\log\ Log files are named with timestamps (e.g., 2025-01-09T123456.log) and the most recent 10 log files are kept. You can configure the log level in your [config file](https://opencode.ai/docs/config#logging) to get more detailed debug information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1562