Allow logging to a trace file.