-
Notifications
You must be signed in to change notification settings - Fork 917
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
Improves "emulators:start" logs #2219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please also post a screenshot and a full log of all messages printed during start? I think we can clean up more cruft and we can talk more about it on chats.
@abeisgoat how does this kind of thing look in the logging emulator? And yeah let's definitely remove the |
Another pass based on feedback from bash. @samtstern it breaks terribly, open to feedback about how we should handle it. |
@abeisgoat logs LGTM but I am worried about how it looks in the logs viewer. Can we just omit it somehow? Maybe add a new I assume that for things like the emulator download progress bar or ora spinners we don't go through our normal logger. Tables should probably be the same. |
@samtstern we could def just write it to stdout which would pass the logger. prolly the best call. I'll do that fix and wait for @yuchenshi lgtm |
I have but one suggestion -- remove log files from the table and throw them into the As a side topic, we should consider surfacing those logs in the GUI logs viewer once the logs transportation changes are in (maybe with log level "DEBUG" or "VERBOSE") and then there will be even one less reason to inspect the files manually. Especially the rules debug and rejection logs in Firestore emulator. |
note to self: move hub port to "other reserved ports" line |
aight, one more time, thoughts / complaints @samtstern @yuchenshi ? |
LGTM |
One last thing: please drop |
@yuchenshi That's fixed over here. We were doing a super hack split up logs which were (almost) always in the format of However, now we ship the log in chunks so there's no string parsing involved and cases where the string doesn't fit that format no longer break. |
Okay, I think this PR is good to go once we merge that PR and cut a release this afternoon. |
(FYI this is safe for releasing -- the link works in the GUI build I just cut.) |
Updates
emulators:start
to show...