Logging endpoint using RavenDB for storage