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 19088469710 for ; Fri, 29 May 2020 12:49:50 +0300 (MSK) Received: by mail-lj1-f196.google.com with SMTP id b6so1863961ljj.1 for ; Fri, 29 May 2020 02:49:49 -0700 (PDT) Date: Fri, 29 May 2020 12:49:44 +0300 From: Cyrill Gorcunov Message-ID: <20200529094944.GH215590@grain> References: <20200528100738.221911-1-gorcunov@gmail.com> <20200528100738.221911-8-gorcunov@gmail.com> <19d91eba-a988-0ee8-6c1b-1b83dca9fce8@tarantool.org> <51ab9c83-4392-b5bd-49ac-652b1892afa0@tarantool.org> <68d0aeab-2db7-b552-ec0d-4bc64de792e1@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68d0aeab-2db7-b552-ec0d-4bc64de792e1@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v4 7/8] lua/log: allow to configure logging without a box List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leonid Vasiliev Cc: tml On Fri, May 29, 2020 at 12:16:08PM +0300, Leonid Vasiliev wrote: > Hi! > Maybe we need to apply something like the "observer" pattern. > When changes in "log" occur, it alerts subscribers. Seriously, guys, I'm not going to bring some watchdog here, at least in this series 'cause it become over the bounds already. I agree that we need a general solution with proper notification queues and etc but lets postpone it for better times. I think box_api interface is enough for now. It might be not that elegant as it could though. After all we will be able to easily extend it on top. I'm preparing the v5 now and will try to address all your comments. At least most of them :-)