From be02d7e58b566040c472f23afac07a8666479c84 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 15 Mar 2019 22:11:56 +0300 Subject: [PATCH] Move mtime logging to files (maybe temporarily). GitOrigin-RevId: 2d3bc002782e6df61a300e086dcbdc5affe7b393 --- td/telegram/files/FileManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/td/telegram/files/FileManager.cpp b/td/telegram/files/FileManager.cpp index 956fee2e..5883d50a 100644 --- a/td/telegram/files/FileManager.cpp +++ b/td/telegram/files/FileManager.cpp @@ -824,11 +824,11 @@ Status FileManager::check_local_location(FullLocalFileLocation &location, int64 size = stat.size_; } if (location.mtime_nsec_ == 0) { - LOG(INFO) << "Set file \"" << location.path_ << "\" modification time to " << stat.mtime_nsec_; + VLOG(files) << "Set file \"" << location.path_ << "\" modification time to " << stat.mtime_nsec_; location.mtime_nsec_ = stat.mtime_nsec_; } else if (!are_modification_times_equal(location.mtime_nsec_, stat.mtime_nsec_)) { - LOG(INFO) << "File \"" << location.path_ << "\" was modified: old mtime = " << location.mtime_nsec_ - << ", new mtime = " << stat.mtime_nsec_; + VLOG(files) << "File \"" << location.path_ << "\" was modified: old mtime = " << location.mtime_nsec_ + << ", new mtime = " << stat.mtime_nsec_; return Status::Error(PSLICE() << "File \"" << location.path_ << "\" was modified"); } if ((location.file_type_ == FileType::Thumbnail || location.file_type_ == FileType::EncryptedThumbnail) &&