Skip to content
Permalink
Browse files

Use info log level when invalid one is provided & Add IMGPROXY_LOG_LE…

…VEL to changelog
  • Loading branch information
DarthSim committed Nov 21, 2019
1 parent e4f787e commit 3123d44692faa53b1a298b763878e0d53267208b
Showing with 3 additions and 1 deletion.
  1. +2 −0 CHANGELOG.md
  2. +1 −1 log.go
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased]
### Added
- `IMGPROXY_LOG_LEVEL` config.

## [2.7.0] - 2019-11-13
### Changed
2 log.go
@@ -24,7 +24,7 @@ func initLog() {

levelLogLevel, err := logrus.ParseLevel(logLevel)
if err != nil {
levelLogLevel = logrus.DebugLevel
levelLogLevel = logrus.InfoLevel
}

logrus.SetLevel(levelLogLevel)

0 comments on commit 3123d44

Please sign in to comment.
You can’t perform that action at this time.