XWIKI-10239: LogEvent events should not be sent through the cluster

(cherry picked from commit 4fa1ac7ac56f1b389421932c6789d9ea3afa7590)