From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (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 C09EE469710 for ; Fri, 5 Jun 2020 21:55:48 +0300 (MSK) Received: by mail-lj1-f196.google.com with SMTP id n24so12980664lji.10 for ; Fri, 05 Jun 2020 11:55:48 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 5 Jun 2020 21:55:42 +0300 Message-Id: <20200605185544.54436-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v9 0/2] lua/log: add an ability to setup logger without box.cfg{} List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml In the series we add an ability to configure logger early without calling box.cfg{}. The syntax is the same as in box.cfg{} call. There was an idea to implement something similar via triggers but I think this will require a way more efforts and code redesign, so at first lets stick to simplier solution. I'm pretty sure we will be able to simplify and beautify code more later. v9: - complete reworking of the whole series branch gorcunov/gh-689-logger-9 issue https://github.com/tarantool/tarantool/issues/689 Cyrill Gorcunov (2): lua/log: add ability to configure logging early test: app-tap/logger -- test new modes src/box/lua/load_cfg.lua | 65 ++++-- src/lua/log.lua | 404 +++++++++++++++++++++++++++++++++-- test/app-tap/logger.test.lua | 83 ++++++- test/box/reconfigure.result | 2 +- 4 files changed, 512 insertions(+), 42 deletions(-) -- 2.26.2