add log for master connecting to harbor

This commit is contained in:
云风
2013-12-16 12:16:24 +08:00
parent 48f6d42264
commit 41ca0c92cb
2 changed files with 2 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ _connect_to(struct master *m, int id) {
memcpy(tmp,ipaddress,sz);
tmp[sz] = '\0';
int port = strtol(portstr+1,NULL,10);
skynet_error(ctx, "Master connect to harbor(%d) %s:%d", id, tmp, port);
m->remote_fd[id] = skynet_socket_connect(ctx, tmp, port);
}