By popular demand, putting the about-to-load-module printf back.
authorDavid M. Lee <dlee@digium.com>
Fri, 26 Apr 2013 21:31:39 +0000 (21:31 +0000)
committerDavid M. Lee <dlee@digium.com>
Fri, 26 Apr 2013 21:31:39 +0000 (21:31 +0000)
But now it only prints during the initial startup, and prints at verbose 1
level.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386684 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/loader.c

index 5befafb..c82c7e6 100644 (file)
@@ -842,6 +842,9 @@ static enum ast_module_load_result start_resource(struct ast_module *mod)
                return AST_MODULE_LOAD_FAILURE;
        }
 
+       if (!ast_fully_booted) {
+               ast_verb(1, "Loading %s.\n", mod->resource);
+       }
        res = mod->info->load();
 
        switch (res) {