Environment Variables
ENVIRONMENT
Controls how logs are presented.
| Value | Effect |
|---|---|
production | Uses a production configuration for logging: JSON formatting (more info) |
development | Uses a development configuration for logging: Not JSON, easier on the eyes and more readable labels. (more info) |
LOG_LEVEL
Accepts: debug, info, warn, error additional documentation available
here.
tip
Using debug will enable
exit waiting status to aid debugging
unexpected hangs.