Skip to content

Commit

Permalink
More debug info.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm committed Oct 28, 2015
1 parent 5fc32fb commit a9d9f09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/rpc/axon.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ AxonAdapter.connect = function(provider) {
}
}

debug('[%s] start heartbeating', name)
heartbeat()
hid = setInterval(heartbeat, 1000)
})
Expand Down
1 change: 1 addition & 0 deletions lib/service/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Service.prototype.isRemote = function() {
* @emit 'server' {http.Server}
*/
Service.prototype.setHttpServer = function(server) {
debug('[%s] get http server', this.name)
this.server = server
this.emit('server', server)
}
Expand Down
2 changes: 1 addition & 1 deletion lib/web/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Router.prototype.setFramework = function(framework) {
this.framework = framework
}

debug('set framework type "%s"', framework.type)
debug('set framework type "%s"', this.framework.type)

return this
}
Expand Down

0 comments on commit a9d9f09

Please sign in to comment.