default SRC_LOG_LEVEL=warn in production deployments
Created by: slimsag
Prior to this change SRC_LOG_LEVEL=dbug
was the default which meant
many customers would have several GB of logs for just a few days that
are mostly useless debug logs. e.g. https://github.com/sourcegraph/customer/issues/49
sourcegraph/server
defaults to SRC_LOG_LEVEL=warn
, in contrast to
Docker Compose and Kubernetes deployments that used the default dbug
level.
This PR changes the default SRC_LOG_LEVEL=warn
except in dev
environments, which already specify dbug
as the level explicitly.
Helps sourcegraph/customer#49