Description
When running opencode with no switches I see a file named 2026-01-01T152627.log appears under ~/.local/share/opencode/log
Then I follow the instructions in https://opencode.ai/docs/troubleshooting/#logs and pass the --log-level DEBUG switch. When I do that, the file that was created before is REMOVED, and no new file is created.
OpenCode version
1.0.62
Steps to reproduce
- Remove all files from ~/.local/share/opencode/log
- Run
opencode
- See that a new file was created under ~/.local/share/opencode/log
- Run
opencode --log-level DEBUG
- See that no files are now under ~/.local/share/opencode/log
Screenshot and/or share link
No response
Operating System
Debian GNU/Linux 13 (trixie)
Terminal
No response
Description
When running
opencodewith no switches I see a file named2026-01-01T152627.logappears under ~/.local/share/opencode/logThen I follow the instructions in https://opencode.ai/docs/troubleshooting/#logs and pass the
--log-level DEBUGswitch. When I do that, the file that was created before is REMOVED, and no new file is created.OpenCode version
1.0.62
Steps to reproduce
opencodeopencode --log-level DEBUGScreenshot and/or share link
No response
Operating System
Debian GNU/Linux 13 (trixie)
Terminal
No response