zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
51.06k stars 3.17k forks source link

The buffer showing Zed.log should autoupdate #21276

Open hferreiro opened 6 days ago

hferreiro commented 6 days ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Run "zed: open log" command. The buffer path shows "Last 1000 lines in ..Zed.log" but the buffer is not updated when new log entries are written. I think it would make more sense if it would behave as the LSP server logs, which are updated in real-time.

Environment

Zed: v0.163.2 (Zed) OS: macOS 15.1.1 Memory: 32 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log ``` ```
notpeter commented 1 day ago

In the meantime as a workaround I use a task with tail -f:

  {
    "label": "tail zed logs",
    "command": "tail -f ~/Library/Logs/Zed/zed.log"
  },

And have alias zlog='tail -f ~/Library/Logs/Zed/Zed.log' in my ~/.zshrc.

See also: