Add more startup messages

This commit is contained in:
Wim 2017-03-19 19:41:57 +01:00
parent 6c2f370e6b
commit 11b07f01ba
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
)
var (
version = "0.10.1"
version = "0.10.2-dev"
githash string
)
@ -44,6 +44,7 @@ func main() {
if err != nil {
log.Fatalf("Starting gateway failed %#v", err)
}
log.Printf("Started samechannel gateway %#v", gw.Name)
}
for _, gw := range cfg.Gateway {
@ -56,6 +57,8 @@ func main() {
if err != nil {
log.Fatalf("Starting gateway failed %#v", err)
}
log.Printf("Started gateway %#v", gw.Name)
}
log.Printf("Gateway(s) started succesfully. Now relaying messages")
select {}
}