truncate log file