Improvement to logfile output.