Update smart-ssh config and improve logging output
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 13s
Nix Format Check / check-format (push) Failing after 24s
Python Lint Check / check-python (push) Failing after 7s

This commit is contained in:
2025-07-31 13:42:13 +02:00
parent 6eb58e2c87
commit e274ae7ae1
4 changed files with 23 additions and 15 deletions

View File

@@ -836,7 +836,10 @@ func initLogging(cfg LoggingConfig) {
}
if strings.ToLower(cfg.Format) == "console" {
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
log.Logger = log.Output(zerolog.ConsoleWriter{
Out: os.Stderr,
TimeFormat: "15:04:05",
})
} else {
log.Logger = log.Output(os.Stderr)
}