It is desirable to see clearly from the log what and whom serves each of forked processes.
Signed-off-by: Dmitry V. Levin <[email protected]> --- nbd-server.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/nbd-server.c b/nbd-server.c index d025a39..540d43f 100644 --- a/nbd-server.c +++ b/nbd-server.c @@ -2245,7 +2245,8 @@ handle_connection(GArray *servers, int net, SERVER *serve, CLIENT *client) close(modernsock); } - msg2(LOG_INFO,"Starting to serve"); + msg4(LOG_INFO, "Starting to serve %s for %s", + client->exportname, client->clientname); serveconnection(client); exit(EXIT_SUCCESS); -- ldv ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
