[logging] added strict file size check;