-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
type: chorework needed to keep the product and development running smoothlywork needed to keep the product and development running smoothly
Description
@netlify/build and @netlify/config print debug logs when the NETLIFY_BUILD_DEBUG environment variable is set.
This is very useful, but this requires a manual action from users which adds some back-and-forth with support. Those debug logs should always be available instead, although still hidden to users by default.
I would suggest implementing this by sending those logs to Humio (through Firebase) since this is the current solution for the same problem in the buildbot. We would still print those logs to stdout but only when NETLIFY_BUILD_DEBUG is set, since reading logs in the UI is much easier for debugging than in Humio.
We should be careful about:
- Performance. This would add many HTTP requests to each build, so we might consider batching those requests.
- Robustness. Builds should not fail nor print any error message if one of those HTTP requests fail.
Metadata
Metadata
Assignees
Labels
type: chorework needed to keep the product and development running smoothlywork needed to keep the product and development running smoothly