remove debug log message for directories (#5560)

This commit is contained in:
Caleb Doxsey 2025-04-02 10:17:42 -06:00 committed by GitHub
parent 9161cac1eb
commit c5716a6045
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,8 +3,6 @@ package fileutil
import (
"os"
"path/filepath"
"github.com/rs/zerolog/log"
)
// CacheDir returns $XDG_CACHE_HOME/pomerium, or $HOME/.cache/pomerium, or /tmp/pomerium/cache
@ -14,7 +12,6 @@ func CacheDir() string {
dir = filepath.Join(dir, "pomerium")
} else {
dir = filepath.Join(os.TempDir(), "pomerium", "cache")
log.Debug().Msgf("user cache directory not set, defaulting to %s", dir)
}
return dir
}
@ -30,7 +27,6 @@ func DataDir() string {
} else {
dir = filepath.Join(os.TempDir(), "pomerium", "data")
}
log.Debug().Msgf("user data directory not set, defaulting to %s", dir)
}
return dir
}