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

Next swallows logs from custom servers #690

Closed
Huxpro opened this issue Jan 7, 2017 · 4 comments
Closed

Next swallows logs from custom servers #690

Huxpro opened this issue Jan 7, 2017 · 4 comments

Comments

@Huxpro
Copy link
Contributor

Huxpro commented Jan 7, 2017

I loved next.js log, which indicated compiling status so well.
But It seems eat all console.log from custom server and might make debugging harder.

// version
"next": "^2.0.0-beta.13"
"node": 6.9.1
@arunoda
Copy link
Contributor

arunoda commented Jan 7, 2017

I didn't exactly got the question.
But you could try something like this:

const app = next({ dev, quiet: true })

If we get a better way to reproduce this, we could help more.

@timneutkens
Copy link
Member

@arunoda just something cosmetic:
quiet (bool) Display error messages with server information - default false

Shouldn't this behaviour be inverted? Since quiet: true would imply it not logging errors

@Huxpro
Copy link
Contributor Author

Huxpro commented Jan 10, 2017

@arunoda Hmm...It seems to work now.
Just forget about it. Might get into some weird situation that day.
BTW, @timneutkens 's suggestion is nice ;)

@timneutkens
Copy link
Member

@Huxpro @arunoda Opened #717 for that suggestion.

@lock lock bot locked as resolved and limited conversation to collaborators May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants