Skip to content

Commit

Permalink
improve logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Hahn authored and felipejfc committed Nov 13, 2019
1 parent dd773c9 commit 316165e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cluster/nats_rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (ns *NatsRPCClient) Call(
// Init inits nats rpc client
func (ns *NatsRPCClient) Init() error {
ns.running = true
logger.Log.Debugf("connecting to nats with timeout of %s", ns.connectionTimeout)
logger.Log.Debugf("connecting to nats (client) with timeout of %s", ns.connectionTimeout)
conn, err := setupNatsConn(
ns.connString,
ns.appDieChan,
Expand Down
2 changes: 1 addition & 1 deletion cluster/nats_rpc_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func (ns *NatsRPCServer) Init() error {
// TODO should we have concurrency here? it feels like we should
go ns.handleMessages()

logger.Log.Debugf("connecting to nats with timeout of %s", ns.connectionTimeout)
logger.Log.Debugf("connecting to nats (server) with timeout of %s", ns.connectionTimeout)
conn, err := setupNatsConn(
ns.connString,
ns.appDieChan,
Expand Down

0 comments on commit 316165e

Please sign in to comment.