add version output to log

This commit is contained in:
Shelikhoo 2022-11-22 15:21:30 +00:00
parent 33248f3dec
commit 4ebd85e5d1
No known key found for this signature in database
GPG key ID: C4D5E79D22B25316
3 changed files with 6 additions and 0 deletions

View file

@ -165,6 +165,8 @@ func main() {
log.SetOutput(&safelog.LogScrubber{Output: logOutput})
}
log.Printf("snowflake-server %s\n", version.GetVersion())
if !disableTLS && acmeHostnamesCommas == "" {
log.Fatal("the --acme-hostnames option is required")
}