[Tarantool-patches] [PATCH 1/3] lua/cfg: drop unused log methods
Cyrill Gorcunov
gorcunov at gmail.com
Mon Jun 8 13:44:48 MSK 2020
The dynamic configuration of logging level and
format now goes via log module. These functions
are no longed needed.
Part-of #689
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
src/box/lua/cfg.cc | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/src/box/lua/cfg.cc b/src/box/lua/cfg.cc
index ed56b0b5c..a5b15e527 100644
--- a/src/box/lua/cfg.cc
+++ b/src/box/lua/cfg.cc
@@ -87,28 +87,6 @@ lbox_cfg_set_replication(struct lua_State *L)
return 0;
}
-static int
-lbox_cfg_set_log_level(struct lua_State *L)
-{
- try {
- box_set_log_level();
- } catch (Exception *) {
- luaT_error(L);
- }
- return 0;
-}
-
-static int
-lbox_cfg_set_log_format(struct lua_State *L)
-{
- try {
- box_set_log_format();
- } catch (Exception *) {
- luaT_error(L);
- }
- return 0;
-}
-
static int
lbox_cfg_set_readahead(struct lua_State *L)
{
@@ -374,8 +352,6 @@ box_lua_cfg_init(struct lua_State *L)
{"cfg_set_listen", lbox_cfg_set_listen},
{"cfg_set_replication", lbox_cfg_set_replication},
{"cfg_set_worker_pool_threads", lbox_cfg_set_worker_pool_threads},
- {"cfg_set_log_level", lbox_cfg_set_log_level},
- {"cfg_set_log_format", lbox_cfg_set_log_format},
{"cfg_set_readahead", lbox_cfg_set_readahead},
{"cfg_set_io_collect_interval", lbox_cfg_set_io_collect_interval},
{"cfg_set_too_long_threshold", lbox_cfg_set_too_long_threshold},
--
2.26.2
More information about the Tarantool-patches
mailing list