Make it possible to truncate logs