Skip to content

Commit

Permalink
Log: cib: Indicate why the blackbox is being dumped by cib_process_re…
Browse files Browse the repository at this point in the history
…quest()
  • Loading branch information
beekhof committed Mar 22, 2013
1 parent c8700ba commit 882db85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cib/callbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,7 @@ cib_process_request(xmlNode * request, gboolean force_synchronous, gboolean priv
the_cib ? crm_element_value(the_cib, XML_ATTR_NUMUPDATES) : "0");

if ((now + 1) < time(NULL)) {
crm_trace("%s operation took %ds to complete", op, time(NULL) - now);
crm_write_blackbox(0, NULL);
}

Expand Down

0 comments on commit 882db85

Please sign in to comment.