Configuring XenServer LogRotate

In XenServer environments I have seen issues with logs filling up the entire Dom0 storage allocation.  The reason behind this is that XenServer logrotate feature can break as it cannot parse the size parameter properly and this results in the dom0 Storage allocation becoming full, caused by overgrown Log Files.