From 277010b566ce5bc264d513a93d1f608b93fe5e6a Mon Sep 17 00:00:00 2001
From: Konstantin Osipov <kostja@tarantool.org>
Date: Tue, 2 Apr 2013 11:37:09 +0400
Subject: [PATCH] https://bugs.launchpad.net/tarantool/+bug/1162797 review

Remove added logging, a message with 'saving snapshot %filename'
is already printed to the log by the child. It contains
snapshot pid. Snapshot fid is not as useful once the bug
is fixed.
---
 src/tarantool.m | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/tarantool.m b/src/tarantool.m
index d12db6a2c5..869a0dac1a 100644
--- a/src/tarantool.m
+++ b/src/tarantool.m
@@ -327,8 +327,6 @@ snapshot(void)
 	}
 	if (p > 0) {
 		snapshot_pid = p;
-		say_warn("Snapshot process was started, pid=%d, fid=%d",
-			snapshot_pid, fiber->fid);
 		int status = wait_for_child(p);
 		snapshot_pid = 0;
 		return (WIFSIGNALED(status) ? EINTR : WEXITSTATUS(status));
@@ -357,8 +355,8 @@ static void
 sig_snapshot(void)
 {
 	if (snapshot_pid) {
-		say_warn("Snapshot process has already been started, "
-			"signal will be ignored");
+		say_warn("Snapshot process is already running,"
+			" the signal is ignored");
 		return;
 	}
 	fiber_call(fiber_create("snapshot", (fiber_func)snapshot));
-- 
GitLab