From 7485bb000a9bb3dbc7338189c46d28567c71e326 Mon Sep 17 00:00:00 2001 From: Yuri Gorshenin Date: Fri, 13 Nov 2015 15:42:19 +0300 Subject: [PATCH] [platform] Fixed logging severity for LocalCountryFileUtils. --- platform/local_country_file_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/local_country_file_utils.cpp b/platform/local_country_file_utils.cpp index 77ec96bd43..8098165e5c 100644 --- a/platform/local_country_file_utils.cpp +++ b/platform/local_country_file_utils.cpp @@ -322,7 +322,7 @@ bool CountryIndexes::DeleteFromDisk(LocalCountryFile const & localFile) string const path = GetPath(localFile, index); if (Platform::IsFileExistsByFullPath(path) && !my::DeleteFileX(path)) { - LOG(LERROR, ("Can't remove country index:", path)); + LOG(LWARNING, ("Can't remove country index:", path)); ok = false; } } @@ -330,7 +330,7 @@ bool CountryIndexes::DeleteFromDisk(LocalCountryFile const & localFile) Platform::EError const ret = Platform::RmDir(directory); if (ret != Platform::ERR_OK && ret != Platform::ERR_FILE_DOES_NOT_EXIST) { - LOG(LERROR, ("Can't remove indexes directory:", directory, ret)); + LOG(LWARNING, ("Can't remove indexes directory:", directory, ret)); ok = false; } return ok;