added a command to shorten a log file