How to trim down a log file?

This gaves me an error when try to start a log dump