Each event-hook procedure is executed on the same connection as the synchronization itself. The following are exceptions:
These procedures are called before a synchronization fails. On failure, synchronization actions are rolled back. By executing on a separate connection, you can use these procedures to log information about the failure, without the logging actions being rolled back along with the synchronization actions.