Adding logger with messages