diff options
author | Alexander Traud <pabstraud@compuserve.com> | 2018-01-05 14:44:55 +0100 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2018-01-06 20:13:07 -0600 |
commit | 7e9781c25e59be8462ac6cc4d3a8914aca42d16f (patch) | |
tree | 5b264511e7eaadb4c5c2bc1e43802e345c40e845 /pbx | |
parent | 09f339bda56d08a1b78359bcabaf2f9cc3234b03 (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')
-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 fcab476cc..741e9507d 100644 --- a/pbx/pbx_lua.c +++ b/pbx/pbx_lua.c @@ -1648,9 +1648,6 @@ static int load_or_reload_lua_stuff(void) } } - if (!res) { - ast_log(LOG_NOTICE, "Lua PBX Switch loaded.\n"); - } lua_close(L); return res; } @@ -1660,7 +1657,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; } |