mirror of
https://github.com/foomo/simplecert.git
synced 2026-12-04 19:41:46 +00:00
log when closing logfile handle
This commit is contained in:
@@ -73,6 +73,7 @@ func NewCertReloader(certPath, keyPath string, logFile *os.File) (*CertReloader,
|
||||
if err != nil {
|
||||
log.Fatal("[FATAL] simplecert: failed to close logfile handle: ", err)
|
||||
}
|
||||
log.Println("[INFO] simplecert: closed logfile handle")
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user