diff options
author | Alexander Traud <pabstraud@compuserve.com> | 2018-01-05 14:58:32 +0100 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2018-01-06 20:08:16 -0600 |
commit | da1a9f392af63e483a7cf0f79e9c77fc8e95645f (patch) | |
tree | 18bf3e6ae16371e14746456d189afec1c99e7ad1 /pbx/pbx_lua.c | |
parent | b8271826b358afd887f9476201fb7fdf12b7119c (diff) |
General: Silence modules on (un)load.
Some (normally optional) modules created notices, warnings, and even errors
in normal situations like (un)load. This cluttered the command-line interface
(CLI) on start and while stopping gracefully. However, when an user went for
the script './contrib/scripts/install_prereq', those modules get compiled-in
because their prerequisites were met at compile time. Furthermore, because of
ASTERISK_27475, the former talkative module 'res_curl' is built as side-effect.
ASTERISK-27553
Change-Id: I9f105f46d72553994e820679bfde3478a551b281
Diffstat (limited to 'pbx/pbx_lua.c')
-rw-r--r-- | pbx/pbx_lua.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c index 655d2df2e..e1f559059 100644 --- a/pbx/pbx_lua.c +++ b/pbx/pbx_lua.c @@ -1636,9 +1636,6 @@ static int load_or_reload_lua_stuff(void) res = AST_MODULE_LOAD_DECLINE; } - if (!res) { - ast_log(LOG_NOTICE, "Lua PBX Switch loaded.\n"); - } lua_close(L); return res; } @@ -1648,7 +1645,6 @@ static int unload_module(void) ast_context_destroy(NULL, registrar); ast_unregister_switch(&lua_switch); lua_free_extensions(); - ast_log(LOG_NOTICE, "Lua PBX Switch unloaded.\n"); return 0; } |