Commit 58fbe6de authored by Radostin Stoyanov's avatar Radostin Stoyanov Committed by Andrei Vagin

page-xfer: Don't log addr/port on disconnect

When the --ps-socket option is used with page-server, instead of
--address and --port, this message would appear as:

    (00.028440) Disconnect from the page server (null):0
Signed-off-by: 's avatarRadostin Stoyanov <rstoyanov1@gmail.com>
parent ee2916a5
...@@ -1062,8 +1062,7 @@ int disconnect_from_page_server(void) ...@@ -1062,8 +1062,7 @@ int disconnect_from_page_server(void)
if (page_server_sk == -1) if (page_server_sk == -1)
return 0; return 0;
pr_info("Disconnect from the page server %s:%u\n", pr_info("Disconnect from the page server\n");
opts.addr, opts.port);
if (opts.ps_socket != -1) if (opts.ps_socket != -1)
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment