diff options
-rwxr-xr-x | cgi/weabot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py index a4f8b4b..4a5cfcd 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -35,7 +35,7 @@ class weabot(object): def __init__(self, environ, start_response): global _DEBUG - logging.basicConfig(filename='weabot.log', format='%(asctime)s %(levelname)s %(message)s', level=logging.DEBUG) + logging.basicConfig(filename='weabot.log', format='%(asctime)s %(levelname)s %(message)s', level=Settings.LOG_LEVEL) self.environ = environ self.ip = self.environ["HTTP_X_REAL_IP"] |