[asterisk-commits] russell: branch group/newcdr r202112 - /team/group/newcdr/cel/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jun 20 09:15:14 CDT 2009


Author: russell
Date: Sat Jun 20 09:15:11 2009
New Revision: 202112

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=202112
Log:
Cut down on debugging log messages, remove a return that couldn't be reached

Modified:
    team/group/newcdr/cel/cel_manager.c
    team/group/newcdr/cel/cel_pgsql.c
    team/group/newcdr/cel/cel_tds.c

Modified: team/group/newcdr/cel/cel_manager.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/cel/cel_manager.c?view=diff&rev=202112&r1=202111&r2=202112
==============================================================================
--- team/group/newcdr/cel/cel_manager.c (original)
+++ team/group/newcdr/cel/cel_manager.c Sat Jun 20 09:15:11 2009
@@ -125,8 +125,6 @@
 		event_sub = ast_event_subscribe(AST_EVENT_CEL, manager_log, "Manager Event Logging", NULL, AST_EVENT_IE_END);
 		if (!event_sub) {
 			ast_log(LOG_ERROR, "Unable to register Asterisk Call Manager CEL handling\n");
-		} else {
-			ast_log(LOG_NOTICE, "Registered Asterisk Call Manager CEL handling\n");
 		}
 	}
 	enablecel = newenablecel;

Modified: team/group/newcdr/cel/cel_pgsql.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/cel/cel_pgsql.c?view=diff&rev=202112&r1=202111&r2=202112
==============================================================================
--- team/group/newcdr/cel/cel_pgsql.c (original)
+++ team/group/newcdr/cel/cel_pgsql.c Sat Jun 20 09:15:11 2009
@@ -549,12 +549,9 @@
 	if (!event_sub) {
 		ast_log(LOG_WARNING, "Unable to subscribe to CEL events for pgsql\n");
 		return AST_MODULE_LOAD_DECLINE;
-	} else {
-		ast_log(LOG_NOTICE, "Subscribed to CEL events for pgsql\n");
-		return AST_MODULE_LOAD_SUCCESS;
-	}
-
-	return res;
+	}
+
+	return AST_MODULE_LOAD_SUCCESS;
 }
 
 static int load_module(void)

Modified: team/group/newcdr/cel/cel_tds.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/cel/cel_tds.c?view=diff&rev=202112&r1=202111&r2=202112
==============================================================================
--- team/group/newcdr/cel/cel_tds.c (original)
+++ team/group/newcdr/cel/cel_tds.c Sat Jun 20 09:15:11 2009
@@ -436,7 +436,6 @@
 		ast_log(LOG_NOTICE, "Unable to load TDS config for CELs: %s\n", config);
 		return 0;
 	} else if (cfg == CONFIG_STATUS_FILEUNCHANGED) {
-		ast_log(LOG_NOTICE, "cel_tds not changed, no need to reload: %s\n", config);
 		return 0;
 	}
 
@@ -569,8 +568,6 @@
 		settings = NULL;
 		dbexit();
 		return AST_MODULE_LOAD_DECLINE;
-	} else {
-		ast_log(LOG_NOTICE, "Registered MSSQL TDS for CEL handling\n");
 	}
 
 	return AST_MODULE_LOAD_SUCCESS;




More information about the asterisk-commits mailing list