added a log entry for service start

This commit is contained in:
Peter Rounce 2022-08-29 07:37:49 +00:00
parent 82569d097c
commit 1c9a29a4dd

View file

@ -25,6 +25,9 @@ func main() {
if log_level == "DEBUG" {
log.SetLevel(log.DebugLevel)
log.Info("bolt card service started - debug log level")
} else {
log.Info("bolt card service started - production log level")
}
log.SetFormatter(&log.JSONFormatter{