mh_text: log message when skipping file with size over max

This commit is contained in:
Jean-Francois Dockes 2019-05-17 09:32:46 +02:00
parent 5f320997c4
commit 37e203d535

View File

@ -81,6 +81,9 @@ bool MimeHandlerText::set_document_file_impl(const string& mt, const string &fn)
m_pagesz = size_t(ps);
if (!readnext())
return false;
} else {
LOGINF("MimeHandlerText: file too big (textfilemaxmbs=" << maxmbs <<
"), contents will not be indexed: " << fn << endl);
}
if (!m_forPreview) {
string md5, xmd5;