-
Notifications
You must be signed in to change notification settings - Fork 605
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
Emit Heroku-like logs from the Fastboot server #1908
Conversation
r? @jtgeibel (rust_highfive has picked a reviewer for you, use r? to override) |
"npm run prettier" should include fastboot.js, since "npm lint:js" checks the file.
Should I expect to see logs that look like this when running locally with
It's fine if I'm not supposed to be seeing these logs locally, the extra info isn't really relevant during development, it just surprised me because I didn't see anything in this PR that checked the environment. Probably something I'm missing about how ember and/or fastboot works though. When I deploy to staging with
Is that deprecation warning anything we should be concerned about? And are the double logs (the last two lines) expected because there's no way to turn off the fastboot logging right now? For comparison: when I turn off fastboot but stay on this branch, I see:
When I switch back to current master (ae7834e), with fastboot off I see:
With
Ah, so looks like the deprecation warning isn't from this branch. So knowing all that, is everything as you'd expect? Anyway, the only thing I'm sure about: for consistency, could you please add double quotes around the user agent? The backend log messages with user agents look like this:
|
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.
Add double quotes around the user agent please. Thanks! ❤️
Yes. Having double logs is annoying/odd, I agree. But this one, we would need to change Fastboot-related packages first. |
I'm fine with this duplication for now, but log sizes have been an issue in the past so we'll need to remove the extra line before enabling too many routes. @bors r+ |
📌 Commit 5ebd4bc has been approved by |
Emit Heroku-like logs from the Fastboot server This change adds Heroku-like logs from the Fastboot server, as we discussed in #1811.
☀️ Test successful - checks-travis |
This change adds Heroku-like logs from the Fastboot server, as we discussed in #1811.