[api] rotate the project logs every couple of minutes and delete old events
[dist] require xmllint for the API test suite