Debugging now truncates old log file on success.