Adding logging messages.