More logging code.