diff --git a/server/modules/routing/binlog/blr.c b/server/modules/routing/binlog/blr.c index 2aa45afa9..5f53f2ad8 100644 --- a/server/modules/routing/binlog/blr.c +++ b/server/modules/routing/binlog/blr.c @@ -724,7 +724,7 @@ ROUTER_SLAVE *slave = (ROUTER_SLAVE *)router_session; LOGFILE_MESSAGE, "%s: Master %s disconnected after %ld seconds. " "%d events read,", - router->service->name, router->master->remote, + router->service->name, router->service->dbref->server->name, time(0) - router->connect_time, router->stats.n_binlogs_ses))); LOGIF(LE, (skygw_log_write_flush( LOGFILE_ERROR, diff --git a/server/modules/routing/binlog/blr_master.c b/server/modules/routing/binlog/blr_master.c index 5aeaf2f99..14e89eaad 100644 --- a/server/modules/routing/binlog/blr_master.c +++ b/server/modules/routing/binlog/blr_master.c @@ -619,8 +619,7 @@ char query[128]; "%s: Request binlog records from %s at " "position %lu from master server %s:%d", router->service->name, router->binlog_name, - router->binlog_position, router->master->remote, - router->service->dbref->server->port))); + router->binlog_position, router->service->dbref->server->name))); break; case BLRM_BINLOGDUMP: // Main body, we have received a binlog record from the master