diff --git a/logs/logs.go b/logs/logs.go index 569a8306e3cf24ca661462985eb6d4efbc23022a..6fc4ce57eb9c27ee5a5c22626a625f64b9a1c431 100644 --- a/logs/logs.go +++ b/logs/logs.go @@ -109,6 +109,9 @@ func InitLogs(requestID *string, isDebugBuild bool, buildVersion string, request isDebug = isDebugBuild build = buildVersion raygunClient = client + disableLogging = false + storeLogsUntilTriggered = false + cachedLogEntries = []LogEntryWithLevel{} if isDebugBuild { log.SetReportCaller(true)