Browse Source

change logging level for UDP warning

master
clowwindy 10 years ago
parent
commit
f7316c0047
  1. 2
      shadowsocks/udprelay.py

2
shadowsocks/udprelay.py

@ -185,7 +185,7 @@ 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' %
logging.debug('IP %s is in forbidden list, drop' %
common.to_str(sa[0]))
# drop
return

Loading…
Cancel
Save