added a log entry for service start
This commit is contained in:
parent
82569d097c
commit
1c9a29a4dd
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
|
@ -25,6 +25,9 @@ func main() {
|
||||||
|
|
||||||
if log_level == "DEBUG" {
|
if log_level == "DEBUG" {
|
||||||
log.SetLevel(log.DebugLevel)
|
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{
|
log.SetFormatter(&log.JSONFormatter{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue