- changed debug output for buffered reporting
This commit is contained in:
parent
91d122fd51
commit
a6830fb0a8
2 changed files with 4 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
|||
* 0 ==> server runs in multi-threaded mode (one thread for each connection and
|
||||
* one server background thread )
|
||||
*/
|
||||
#define CONFIG_MMS_SINGLE_THREADED 0
|
||||
#define CONFIG_MMS_SINGLE_THREADED 1
|
||||
|
||||
/*
|
||||
* Optimize stack for threadless operation - don't use semaphores
|
||||
|
|
|
@ -1531,6 +1531,7 @@ printEnqueuedReports(ReportControl* reportControl)
|
|||
{
|
||||
ReportBuffer* rb = reportControl->reportBuffer;
|
||||
|
||||
#if 0
|
||||
printf("IED_SERVER: --- Enqueued reports ---\n");
|
||||
|
||||
if (rb->oldestReport == NULL) {
|
||||
|
@ -1561,7 +1562,8 @@ printEnqueuedReports(ReportControl* reportControl)
|
|||
entry = entry->next;
|
||||
}
|
||||
}
|
||||
printf("IED_SERVER: reports: %i\n", rb->reportsCount);
|
||||
#endif
|
||||
printf("IED_SERVER: BRCB %s reports: %i\n", reportControl->name, rb->reportsCount);
|
||||
printf("IED_SERVER: -------------------------\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue