From 708afdfb96c71e173611d75b4e3bc3a3a9075bdd Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 5 May 2020 15:38:51 +0200 Subject: [PATCH] configd: suppress idna warnings, we already know the contributed idna patches where a bad idea (https://github.com/opnsense/core/pull/2327, https://github.com/opnsense/core/pull/3107) since this is only a warning that it will unmodified content, we may as well silence the message. closes https://github.com/opnsense/core/issues/4086 --- src/opnsense/service/modules/template.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/opnsense/service/modules/template.py b/src/opnsense/service/modules/template.py index 153604763..8847c0de2 100644 --- a/src/opnsense/service/modules/template.py +++ b/src/opnsense/service/modules/template.py @@ -72,7 +72,6 @@ class Template(object): return tmp.decode() except UnicodeError: # return source when unable to decode - syslog.syslog(syslog.LOG_NOTICE, "encode idna: unable to decode %s, return source" % x) return x def list_module(self, module_name):