From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladimir Davydov Subject: [RFC PATCH 03/12] applier: remove extra new line in log message printed on connect Date: Wed, 6 Jun 2018 20:45:03 +0300 Message-Id: <30e1d3e826410842cd8dae3a05637a1ec9f43f1a.1528305232.git.vdavydov.dev@gmail.com> In-Reply-To: References: In-Reply-To: References: To: kostja@tarantool.org Cc: tarantool-patches@freelists.org List-ID: An extra new line looks ugly in the log: 2018-06-06 15:22:22.682 [9807] main/101/interactive C> Tarantool 1.10.1-58-gd2272132 2018-06-06 15:22:22.682 [9807] main/101/interactive C> log level 5 2018-06-06 15:22:22.682 [9807] main/101/interactive I> mapping 268435456 bytes for memtx tuple arena... 2018-06-06 15:22:22.683 [9807] main/101/interactive I> mapping 134217728 bytes for vinyl tuple arena... 2018-06-06 15:22:22.692 [9807] main/101/interactive I> recovery start 2018-06-06 15:22:22.692 [9807] main/101/interactive I> recovering from `./00000000000000000006.snap' 2018-06-06 15:22:22.721 [9807] main/106/applier/ I> remote master is 1.10.1 at 0.0.0.0:44441 2018-06-06 15:22:22.723 [9807] main/106/applier/ C> leaving orphan mode 2018-06-06 15:22:22.723 [9807] main/101/interactive C> replica set sync complete, quorum of 1 replicas formed 2018-06-06 15:22:22.723 [9807] main/101/interactive I> ready to accept requests --- src/box/applier.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/applier.cc b/src/box/applier.cc index d3ccc24b..556502bf 100644 --- a/src/box/applier.cc +++ b/src/box/applier.cc @@ -198,7 +198,7 @@ applier_connect(struct applier *applier) } if (applier->version_id != greeting.version_id) { - say_info("remote master is %u.%u.%u at %s\r\n", + say_info("remote master is %u.%u.%u at %s", version_id_major(greeting.version_id), version_id_minor(greeting.version_id), version_id_patch(greeting.version_id), -- 2.11.0