Improve Zed logging (specifically talking about zed.log)
#48756
tommyming
started this conversation in
Feature Requests
Replies: 1 comment 4 replies
-
|
No explicit plans so far in Zed team to work on this. I suspect, proper log rotation and some kind of a limit to highlights (for large files) would be needed on top of the work proposed. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What are you proposing?
I am proposing to improve the layout of Zed logs, which provides a better "search-and-filter" implementation.
I would like to introduce categories to the log file as well, to improve search efficiency.
Why does this matter?
The current
telemetry loglists out the default telemetries implemented to Zed, and it is live updated.But the current
zed.logonly opens as a text file, which is not live updated.Log Observation is important when trying to debug different components of the IDE, or developing extensions.
Apart from that,
zed.logdoes not have an alternative way to filter out the logs, apart from search bar.What problem does this solve?
I have been facing some problems when developing extensions. I want to check if the mcp server I am developing is loading properly. Everytime when I rebuild,
zed.logdoes not update live, so I need to open log again, which is a bit cumbersome to me.Also, the logs inside
zed.logis a bit messy to me, so I would like to standardize a bit, to navigate different types of logs faster.What becomes easier or possible?
It would be easier for developers to debug when they are implementing new custom extensions, or debug when trying to activate features in Zed (e.g. MCP Server, Agent Panel, etc), or just simply easier to check errors of the services of IDE
It also opens possibility for showing logs in a more interactive format.
Are there any examples or context?
I would like something similar to
telemetry log, observed liketail -flinux command, and possibly a category bar, which can filter logs from different services inside Zed.Possible approach
The whole thing is something "nice-to-have" to my understanding, as the log is already there and showing .
But there are some way to make it better :).
I would like to separate this request into 3 parts(erm. probably 3 PRs):
zed.logopens as an observable windows (sth similar totail -f)I am already working on (1), and do have some ideas about (2) and (3). I will share more details once the corresponding pull request is done.
Questions to the Zed Team
May I know if there are any plans about improving Zed logging from your side?
I want to make sure if the content here will not conflict the work that the team is working on/planning to do.
Thanks a lot reading till here.
Feel free to comment/ let me know if there are any questions/improvements!!
Beta Was this translation helpful? Give feedback.
All reactions