From 562d0b4d186bc1ae8d5f0c9de5019acdef2c8575 Mon Sep 17 00:00:00 2001
From: "David M. Lee" <dlee@digium.com>
Date: Fri, 26 Apr 2013 21:31:39 +0000
Subject: [PATCH] By popular demand, putting the about-to-load-module printf
 back.

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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/main/loader.c b/main/loader.c
index 5befafb557..c82c7e608b 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -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) {
-- 
GitLab