Import Debug, Syslog from xen-api-libs 6b42ec06ea2f14e989b41ca61623e53638692703