More logging done to show what the program is doing.