No OC logs on Windows #3509

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

Originally created by @JosXa on GitHub (Dec 12, 2025).

Description

In no version have I ever seen a single log message written to the file system on Windows, as evidenced by this Everything search:

Image

I don't believe my config is special in any way:

Image

@rekram1-node suggested to use opencode --print-logs, which I started using since then, but that always just looks like this (that one line, never anything else):

Image

OpenCode version

1.0.50

Steps to reproduce

  1. Start opencode on Windows
  2. Verify no log folder exists

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Originally created by @JosXa on GitHub (Dec 12, 2025). ### Description In no version have I ever seen a single log message written to the file system on Windows, as evidenced by this Everything search: <img width="1164" height="274" alt="Image" src="https://github.com/user-attachments/assets/a69d2213-fc61-4ebb-9ac9-d73515844fba" /> I don't believe my config is special in any way: <img width="374" height="537" alt="Image" src="https://github.com/user-attachments/assets/eccc01a1-018f-4f9d-8638-d97ed6c060ef" /> @rekram1-node suggested to use `opencode --print-logs`, which I started using since then, but that always just looks like this (that one line, never anything else): <img width="871" height="68" alt="Image" src="https://github.com/user-attachments/assets/10dd5d3d-6d4c-4def-b78d-6e14fa82a0e9" /> ### OpenCode version 1.0.50 ### Steps to reproduce 1. Start opencode on Windows 2. Verify no log folder exists ### Screenshot and/or share link _No response_ ### Operating System Windows 11 ### Terminal Windows Terminal
yindo added the opentuibug labels 2026-02-16 17:40:25 -05:00
yindo closed this issue 2026-02-16 17:40:25 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 12, 2025):

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

  • #4794: Crashes on Windows - segmentation faults preventing initialization
  • #3563: EBADF: bad file descriptor error on Windows 11
  • #631: Master issue tracking all Windows support problems
  • #4605: OpenTUI not respecting TMPDIR on Windows
  • #5175: Similar /tmp execution permission issues on Ubuntu (also affects Windows)

These issues are related to file system and initialization problems on Windows that could prevent log directory creation. Feel free to ignore if your case differs from these.

@github-actions[bot] commented on GitHub (Dec 12, 2025): This issue might be a duplicate of existing issues. Please check: - #4794: Crashes on Windows - segmentation faults preventing initialization - #3563: EBADF: bad file descriptor error on Windows 11 - #631: Master issue tracking all Windows support problems - #4605: OpenTUI not respecting TMPDIR on Windows - #5175: Similar /tmp execution permission issues on Ubuntu (also affects Windows) These issues are related to file system and initialization problems on Windows that could prevent log directory creation. Feel free to ignore if your case differs from these.
Author
Owner

@JosXa commented on GitHub (Dec 12, 2025):

Found it! Bad query!

@JosXa commented on GitHub (Dec 12, 2025): Found it! Bad query!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3509