Skip to content

Commit a7d6799

Browse files
committed
Fix how the client prints diagnostic version information
1 parent 077b833 commit a7d6799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,8 +2145,8 @@ func InitClient() error {
21452145

21462146
var printClientConfigErr error
21472147
printClientConfigOnce.Do(func() {
2148-
if log.GetLevel() == log.DebugLevel {
2149-
PrintPelicanVersion(os.Stdout)
2148+
if GetEffectiveLogLevel() >= log.DebugLevel {
2149+
LogPelicanVersion()
21502150
printClientConfigErr = PrintClientConfig()
21512151
}
21522152
})

0 commit comments

Comments
 (0)