Send modules list into to Notification server

Send modules list into to Notification server

TODO: remove fprintf  in module_feedback_send and use log manager
instead
This commit is contained in:
MassimilianoPinto
2015-03-05 13:20:22 +01:00
parent bb2609e161
commit 698af9d3b7
5 changed files with 234 additions and 195 deletions

View File

@ -35,6 +35,7 @@
* 13/10/14 Massimiliano Pinto Added hashtable for resources (i.e database names for MySQL services)
* 06/02/15 Mark Riddoch Added caching of authentication data
* 18/02/15 Mark Riddoch Added result set management
* 03/03/15 Massimiliano Pinto Added config_enable_feedback_task() call in serviceStartAll
*
* @endverbatim
*/
@ -60,7 +61,6 @@
#include <sys/types.h>
#include <housekeeper.h>
#include <resultset.h>
#include <notification.h>
/** Defined in log_manager.cc */
extern int lm_enabled_logfiles_bitmask;
@ -476,11 +476,8 @@ serviceStartAll()
{
SERVICE *ptr;
int n = 0,i;
FEEDBACK_CONF *feedback = notification_get_config_feedback();
if (feedback->feedback_enable) {
hktask_add("send_feedback", module_feedback_send, feedback, 300);
}
config_enable_feedback_task();
ptr = allServices;
while (ptr && !ptr->svc_do_shutdown)