From: Vsevolod Stakhov Date: Thu, 13 Sep 2018 11:57:01 +0000 (+0100) Subject: [Minor] Reduce severity of warnings X-Git-Tag: 1.8.0~118 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d2ed1bc750469e308fdf38f31964e905f6eb932;p=rspamd.git [Minor] Reduce severity of warnings --- diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c index d4237690d..5c8d96f66 100644 --- a/src/libmime/lang_detection.c +++ b/src/libmime/lang_detection.c @@ -404,7 +404,7 @@ rspamd_language_detector_read_file (struct rspamd_config *cfg, type = ucl_object_lookup (top, "type"); if (type == NULL || ucl_object_type (type) != UCL_STRING) { - msg_warn_config ("cannot find type in language %s", nelt->name); + msg_debug_config ("cannot find type in language %s", nelt->name); ucl_object_unref (top); return; @@ -425,7 +425,7 @@ rspamd_language_detector_read_file (struct rspamd_config *cfg, cat = RSPAMD_LANGUAGE_DEVANAGARI; } else { - msg_warn_config ("unknown type %s of language %s", stype, nelt->name); + msg_debug_config ("unknown type %s of language %s", stype, nelt->name); ucl_object_unref (top); return;