Write dirac output to log file.