diff --git a/internal/common/logger/logging.go b/internal/common/logger/logging.go index 13481809..de25004d 100644 --- a/internal/common/logger/logging.go +++ b/internal/common/logger/logging.go @@ -115,6 +115,11 @@ func NewLogger(ctx context.Context) *Logger { panic(err) } + err = os.Chmod(logFolderPath, 0644) + if err != nil { + panic(err) + } + lumber := &lumberjack.Logger{ Filename: logFolderPath + "/server.log", MaxSize: 30,