mirror of
https://github.com/gosticks/simplecert.git
synced 2026-10-05 06:07:12 +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