]> xenbits.xensource.com Git - xcp/xen-api-libs.git/commit
CA-36554: improve the logging around the fork/exec daemon.
authorDavid Scott <dave.scott@eu.citrix.com>
Wed, 3 Feb 2010 22:33:20 +0000 (22:33 +0000)
committerDavid Scott <dave.scott@eu.citrix.com>
Wed, 3 Feb 2010 22:33:20 +0000 (22:33 +0000)
commit5fd1c5725a4c3f4c9620f7106b211a6de747b6bb
tree72d4cb0c643009c64aa16f906b3b1fd4159cef8e
parent78aad5977d7f6de725014300648646c914db5dd8
CA-36554: improve the logging around the fork/exec daemon.

Switch from a buffer to a list of strings, one entry prepended on every 'debug' invocation. In the error path, walk the reversed list and dump each string separately to syslog.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
forking_executioner/child.ml
forking_executioner/fe_debug.ml