mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 09:56:31 +02:00
remove debug log message for directories (#5560)
This commit is contained in:
parent
9161cac1eb
commit
c5716a6045
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue