Distributed logging and messaging services