A logging system in the cloud