Utility for printing the log file