1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 08:18:30 +00:00

Useless print

This commit is contained in:
Julien Duponchelle 2015-02-05 17:15:40 +01:00
parent 30f10a559e
commit 9f7b8574c8

View File

@ -22,7 +22,7 @@ import logging
class RequestHandler(aiohttp.web.RequestHandler):
def log_access(self, message, environ, response, time):
# In debug mode we don't use the standard request log but a more complete in response.py
print(self.logger.getEffectiveLevel())
if self.logger.getEffectiveLevel() != logging.DEBUG:
super().log_access(message, environ, response, time)