From f7316c004738e95e7f64e0030dd5a31f855d2f56 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Mon, 12 Jan 2015 23:08:27 +0800 Subject: [PATCH] change logging level for UDP warning --- shadowsocks/udprelay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks/udprelay.py b/shadowsocks/udprelay.py index ccc0413..1bdd153 100644 --- a/shadowsocks/udprelay.py +++ b/shadowsocks/udprelay.py @@ -185,8 +185,8 @@ class UDPRelay(object): af, socktype, proto, canonname, sa = addrs[0] if self._forbidden_iplist: if common.to_str(sa[0]) in self._forbidden_iplist: - logging.warn('IP %s is in forbidden list, drop' % - common.to_str(sa[0])) + logging.debug('IP %s is in forbidden list, drop' % + common.to_str(sa[0])) # drop return client = socket.socket(af, socktype, proto)