Consolidating audit-trail logs to an external server