Check the file size from store itself. (see #12152)
Merge pull request #2434 from jburel/log-file-truncated

Log file truncated