Adding some more logging messages.