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

Log file truncated (rebased onto develop)