From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id BC2AA469719 for ; Thu, 10 Sep 2020 19:21:14 +0300 (MSK) Received: by mail-lj1-f194.google.com with SMTP id a15so9007991ljk.2 for ; Thu, 10 Sep 2020 09:21:14 -0700 (PDT) Date: Thu, 10 Sep 2020 19:21:09 +0300 From: Cyrill Gorcunov Message-ID: <20200910162109.GB269870@grain> References: <20200909081955.45791-1-olegrok@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200909081955.45791-1-olegrok@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH] lua: fix panic in case when log.cfg.log incorrecly specified List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: olegrok@tarantool.org Cc: tarantool-patches@dev.tarantool.org On Wed, Sep 09, 2020 at 11:19:55AM +0300, olegrok@tarantool.org wrote: > From: Oleg Babin > > This patch makes log.cfg{log = ...} behaviour the same as in > box.cfg{log = ...} and fixes panic if "log" is incorrectly > specified. For such purpose we export "say_parse_logger_type" > function and use for logger type validation and logger type > parsing. > > Closes #5130 Reviewed-by: Cyrill Gorcunov Thanks!