[logfile] check for truncated files