Truncate log on startup