rename tools package to utils
This commit is contained in:
parent
8ebc74b3a3
commit
c1054c482f
|
@ -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(
|
Loading…
Reference in New Issue
Block a user