diff --git a/options.go b/options.go index eedff35c1..2a5ec97a4 100644 --- a/options.go +++ b/options.go @@ -81,7 +81,7 @@ func NewOptions() Options { func optionsWithDefaults(opts Options) Options { opts.Env = defaults.String(opts.Env, envy.Get("GO_ENV", "development")) - opts.LogLevel = defaults.String(opts.LogLevel, "debug") + opts.LogLevel = defaults.String(opts.LogLevel, envy.Get("LOG_LEVEL", "debug")) opts.Name = defaults.String(opts.Name, "/") addr := "0.0.0.0" if opts.Env == "development" {