mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Restore pretty formatted config options in debug level
This commit is contained in:
parent
751e2d6147
commit
39d68e8287
5 changed files with 61 additions and 23 deletions
|
@ -115,7 +115,9 @@ func Load() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
log.Debug(pretty.Sprintf("Loaded configuration from '%s': %# v\n", Server.ConfigFile, Server))
|
||||
if log.CurrentLevel() >= log.LevelDebug {
|
||||
fmt.Println(log.Redact(pretty.Sprintf("Loaded configuration from '%s': %# v", Server.ConfigFile, Server)))
|
||||
}
|
||||
|
||||
// Call init hooks
|
||||
for _, hook := range hooks {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue