Fix logger scope and use batchSize on cursor for replay
Only log the publishing to directlisteners information when an event is actually pushed
Refactor publish event method