Typo
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
5560fc7f98
commit
ba79afe29c
|
@ -95,7 +95,7 @@ func NewEcho() *echo.Echo {
|
|||
e.HideBanner = true
|
||||
|
||||
if l, ok := e.Logger.(*elog.Logger); ok {
|
||||
if !configLogEnabled || config.LogEcho.GetString() == "off" {
|
||||
if !config.LogEnabled.GetBool() || config.LogEcho.GetString() == "off" {
|
||||
l.SetLevel(elog.OFF)
|
||||
}
|
||||
l.EnableColor()
|
||||
|
@ -104,7 +104,7 @@ func NewEcho() *echo.Echo {
|
|||
}
|
||||
|
||||
// Logger
|
||||
if !configLogEnabled || config.LogHTTP.GetString() != "off" {
|
||||
if !config.LogEnabled.GetBool() || config.LogHTTP.GetString() != "off" {
|
||||
e.Use(middleware.LoggerWithConfig(middleware.LoggerConfig{
|
||||
Format: log.WebFmt + "\n",
|
||||
Output: log.GetLogWriter(config.LogHTTP.GetString(), "http"),
|
||||
|
|
Loading…
Reference in New Issue