[asterisk-commits] kmoore: branch 13 r429430 - in /branches/13: ./ res/res_sorcery_config.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 12 08:03:33 CST 2014
Author: kmoore
Date: Fri Dec 12 08:03:30 2014
New Revision: 429430
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=429430
Log:
Sorcery: Log when old config remains in use
This adds a log message notifying the user that a stale configuration
is in place upon reload when a config object fails to load. This
situation can end up causing confusion when the object failed to load
but exists from a previous config load especially when the old config
is significantly different from the new config.
Review: https://reviewboard.asterisk.org/r/4250/
Reported by: Thomas Thompson
........
Merged revisions 429429 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
branches/13/ (props changed)
branches/13/res/res_sorcery_config.c
Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: branches/13/res/res_sorcery_config.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_sorcery_config.c?view=diff&rev=429430&r1=429429&r2=429430
==============================================================================
--- branches/13/res/res_sorcery_config.c (original)
+++ branches/13/res/res_sorcery_config.c Fri Dec 12 08:03:30 2014
@@ -284,6 +284,8 @@
if (!(obj = sorcery_config_retrieve_id(sorcery, data, type, id))) {
continue;
}
+
+ ast_log(LOG_NOTICE, "Retaining existing configuration for object of type '%s' with id '%s'\n", type, id);
}
ao2_link_flags(objects, obj, OBJ_NOLOCK);
More information about the asterisk-commits
mailing list