]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Reduce severity of warnings
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 13 Sep 2018 11:57:01 +0000 (12:57 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 13 Sep 2018 11:57:01 +0000 (12:57 +0100)
src/libmime/lang_detection.c

index d4237690d24f128ee7ae3342c9009301daa25e8b..5c8d96f66cd602d41583e6eb3418776d4c1ae516 100644 (file)
@@ -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;