diff --git a/application.go b/application.go index 14ef40f..8b6f424 100644 --- a/application.go +++ b/application.go @@ -215,7 +215,7 @@ func (that *Application) SetConfig(configPath ...string) { that.Log = GetLog(that.Config.GetString("logFile"), true) that.Error = Error{Logger: that.Log} - if that.Config.GetBool("webConnectLogShow") { + if that.Config.Get("webConnectLogShow") == nil || that.Config.GetBool("webConnectLogShow") { that.WebConnectLog = GetLog(that.Config.GetString("webConnectLogFile"), false) }