mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 17:12:37 +01:00
Add more startup messages
This commit is contained in:
parent
6c2f370e6b
commit
11b07f01ba
@ -10,7 +10,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
version = "0.10.1"
|
version = "0.10.2-dev"
|
||||||
githash string
|
githash string
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -44,6 +44,7 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Starting gateway failed %#v", err)
|
log.Fatalf("Starting gateway failed %#v", err)
|
||||||
}
|
}
|
||||||
|
log.Printf("Started samechannel gateway %#v", gw.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, gw := range cfg.Gateway {
|
for _, gw := range cfg.Gateway {
|
||||||
@ -56,6 +57,8 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Starting gateway failed %#v", err)
|
log.Fatalf("Starting gateway failed %#v", err)
|
||||||
}
|
}
|
||||||
|
log.Printf("Started gateway %#v", gw.Name)
|
||||||
}
|
}
|
||||||
|
log.Printf("Gateway(s) started succesfully. Now relaying messages")
|
||||||
select {}
|
select {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user