Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v9 0/2] lua/log: add an ability to setup logger without box.cfg{}
@ 2020-06-05 18:55 Cyrill Gorcunov
  2020-06-05 18:55 ` [Tarantool-patches] [PATCH v9 1/2] lua/log: add ability to configure logging early Cyrill Gorcunov
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Cyrill Gorcunov @ 2020-06-05 18:55 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-08  9:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 18:55 [Tarantool-patches] [PATCH v9 0/2] lua/log: add an ability to setup logger without box.cfg{} Cyrill Gorcunov
2020-06-05 18:55 ` [Tarantool-patches] [PATCH v9 1/2] lua/log: add ability to configure logging early Cyrill Gorcunov
2020-06-05 18:55 ` [Tarantool-patches] [PATCH v9 2/2] test: app-tap/logger -- test new modes Cyrill Gorcunov
2020-06-05 19:14 ` [Tarantool-patches] [PATCH v9 0/2] lua/log: add an ability to setup logger without box.cfg{} Oleg Babin
2020-06-05 19:21   ` Cyrill Gorcunov
2020-06-08  9:36 ` Kirill Yukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox