Rewrite logging and remove all log files for now.