diff --git a/client/http_server.go b/client/http_server.go index 95245df..b520a51 100644 --- a/client/http_server.go +++ b/client/http_server.go @@ -83,7 +83,7 @@ func (c *BaseClient) StartHTTPServer(listenAddr string) error { mux.HandleFunc("/getFSMDump", c.getFSMDumpHandler) mux.HandleFunc("/getFSMList", c.getFSMList) - c.Logger.Log("Starting HTTP server on address: %s", listenAddr) + c.Logger.Log("HTTP server started on address: %s", listenAddr) return http.ListenAndServe(listenAddr, mux) } diff --git a/cmd/dc4bc_d/main.go b/cmd/dc4bc_d/main.go index 1740358..fd12352 100644 --- a/cmd/dc4bc_d/main.go +++ b/cmd/dc4bc_d/main.go @@ -218,7 +218,8 @@ func startClientCommand() *cobra.Command { log.Fatalf("HTTP server error: %v", err) } }() - cli.GetLogger().Log("starting to poll messages from append-only log...") + cli.GetLogger().Log("Client started to poll messages from append-only log") + cli.GetLogger().Log("Waiting for messages from append-only log...") if err = cli.Poll(); err != nil { log.Fatalf("error while handling operations: %v", err) }