diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index 14339402d7..e3487e5b88 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -435,7 +435,7 @@ static switch_status_t switch_loadable_module_load_file(char *filename, switch_l } if (err) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Error Loading module %s\n**%s**\n", filename, err); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Loading module %s\n**%s**\n", filename, err); return SWITCH_STATUS_GENERR; }