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

"Preview not detected Warning" pollutes server logs #6

Closed
TimoWestland opened this issue Sep 21, 2018 · 2 comments
Closed

"Preview not detected Warning" pollutes server logs #6

TimoWestland opened this issue Sep 21, 2018 · 2 comments

Comments

@TimoWestland
Copy link
Contributor

Hi,

I think the "Could not detect preview for [host], setting preview to false" message should be removed, or should only be triggered once, as it is going of on every single request currently. This is already polluting our server logs on our test environment and will be much worse when running this in production.

screenshot 2018-09-21 13 31 46

@TimoWestland
Copy link
Contributor Author

Checking if the NODE_ENV is set to production before logging might also work btw :)

@TimoWestland
Copy link
Contributor Author

Has been fixed in 0.4.3-rc.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant