diff --git a/tools/logging.go b/utils/logging.go similarity index 95% rename from tools/logging.go rename to utils/logging.go index f0b8015..08bad7f 100644 --- a/tools/logging.go +++ b/utils/logging.go @@ -28,7 +28,7 @@ func InitLogging() { func ConfigureLogging() error { path := filepath.Clean(viper.GetString(config.LogPath)) - if err := os.MkdirAll(path, constants.DefaultFilePerms); err != nil { + if err := os.MkdirAll(path, constants.DefaultFolderPerms); err != nil { return err } writer := rotatelogs.New(