Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The buffer showing Zed.log should autoupdate #21276

Open
1 task done
hferreiro opened this issue Nov 28, 2024 · 2 comments
Open
1 task done

The buffer showing Zed.log should autoupdate #21276

hferreiro opened this issue Nov 28, 2024 · 2 comments
Labels
logging Feedback for logs, debug output, etc

Comments

@hferreiro
Copy link
Contributor

hferreiro commented Nov 28, 2024

Check for existing issues

  • Completed

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
Copy link
Member

notpeter commented Dec 3, 2024

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:

@VKondakoff
Copy link

Hmm... This is from https://github.com/zed-industries/zed/releases/tag/v0.127.3 release (Mar 20, 2024):

Improved zed: Open Log action to not mark the opened log file as dirty and to always scroll to the bottom of the log.

8-0

@notpeter notpeter removed the feature [core label] label Feb 12, 2025
@mgsloan mgsloan removed their assignment Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logging Feedback for logs, debug output, etc
Projects
None yet
Development

No branches or pull requests

4 participants