From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp44.i.mail.ru (smtp44.i.mail.ru [94.100.177.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 7532D4696C3 for ; Sun, 26 Apr 2020 20:21:01 +0300 (MSK) References: <20200312102434.97300-1-roman.habibov@tarantool.org> <20200312102434.97300-2-roman.habibov@tarantool.org> From: Vladislav Shpilevoy Message-ID: <647801fa-6078-0258-7593-653b317b66ec@tarantool.org> Date: Sun, 26 Apr 2020 19:20:59 +0200 MIME-Version: 1.0 In-Reply-To: <20200312102434.97300-2-roman.habibov@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v2 1/2] coio/say: fix getaddrinfo error handling on macOS List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Roman Khabibov , tarantool-patches@dev.tarantool.org Hi! I didn't review the patch. Just noticed, that you need the stacked diag in one place, and I have a comment on that. > diff --git a/src/lib/core/say.c b/src/lib/core/say.c > index 64a637c58..8ad88ad57 100644 > --- a/src/lib/core/say.c > +++ b/src/lib/core/say.c > @@ -593,6 +596,11 @@ log_syslog_init(struct log *log, const char *init_str) > say_free_syslog_opts(&opts); > log->fd = log_syslog_connect(log); > if (log->fd < 0) { > + /* > + * We need to log a diagnostics here until stacked > + * diagnostics will be implemented (#1148). > + */ > + diag_log(); Stacked diagnostics is implemented now.