Add debug log

This commit is contained in:
VirtuBox
2019-07-29 15:08:49 +02:00
parent 88f896e429
commit 4fd9d267bb
4 changed files with 10 additions and 3 deletions

View File

@@ -113,6 +113,7 @@ class WOSecureController(CementBaseController):
try:
user_ip = self.app.pargs.user_input.split(',')
except Exception as e:
Log.debug(self, "{0}".format(e))
user_ip = ['127.0.0.1']
for ip_addr in user_ip:
if not ("exist_ip_address "+ip_addr in open('/etc/nginx/common/'