logging: reduce debug logging a bit

This commit is contained in:
Dirk-Jan C. Binnema
2024-06-13 20:24:03 +03:00
parent 5bd439271d
commit e6fd83d00d
3 changed files with 5 additions and 9 deletions

View File

@ -563,9 +563,7 @@ process_message(const MimeMessage& mime_msg, const std::string& path,
if (info.body_txt) { /* attempt to get the body-language */
if (const auto lang{detect_language(info.body_txt.value())}; lang) {
info.language = lang->code;
mu_debug("detected language: {}", lang->code);
} else
mu_debug("could not detect language");
}
}
#endif /*HAVE_CLD2*/
}