Fix: NotifyPublish not working properly. Improved log.