We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 077b833 commit a7d6799Copy full SHA for a7d6799
config/config.go
@@ -2145,8 +2145,8 @@ func InitClient() error {
2145
2146
var printClientConfigErr error
2147
printClientConfigOnce.Do(func() {
2148
- if log.GetLevel() == log.DebugLevel {
2149
- PrintPelicanVersion(os.Stdout)
+ if GetEffectiveLogLevel() >= log.DebugLevel {
+ LogPelicanVersion()
2150
printClientConfigErr = PrintClientConfig()
2151
}
2152
})
0 commit comments