diff options
-rw-r--r-- | searchix.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searchix.go b/searchix.go index 79da0e7..8dca470 100644 --- a/searchix.go +++ b/searchix.go @@ -119,6 +119,10 @@ func main() { sErr <- sv.Start() }() + if conf.Web.Environment == "development" { + log.Printf("server listening on %s", conf.Web.BaseURL.String()) + } + err = <-sErr if err != nil { // Error starting or closing listener: |