diff --git a/boot.php b/boot.php
index f0d40544f4..4cab1e5ae6 100644
--- a/boot.php
+++ b/boot.php
@@ -630,6 +630,9 @@ function xml_status($st, $message = '') {
$xml_message = ((strlen($message)) ? "\t" . xmlify($message) . "\r\n" : '');
+ if($st)
+ logger('xml_status returning non_zero: ' . $st . " message=" . $message);
+
header( "Content-type: text/xml" );
echo ''."\r\n";
echo "\r\n\t$st\r\n$xml_message\r\n";