Open julienw opened 7 years ago
Currently we shut down the logging if we're in the test environment (see https://github.com/mozilla-sensorweb/sensorweb-server/blob/1da3319021c746d29a94b9c69cd6f7031a846a45/src/server.js#L32). This is both fragile and not effective -- for example it's still used in circleci.
Instead we should use an env variable to control this. One possibility is to shush it when using the env vairable QUIET.
QUIET
Currently we shut down the logging if we're in the test environment (see https://github.com/mozilla-sensorweb/sensorweb-server/blob/1da3319021c746d29a94b9c69cd6f7031a846a45/src/server.js#L32). This is both fragile and not effective -- for example it's still used in circleci.
Instead we should use an env variable to control this. One possibility is to shush it when using the env vairable
QUIET
.