Logging implemented on publisher.py