Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

HH-32313 remove dev logging

  • Loading branch information...
commit 7d6d85a33cae090cedf8cd01c542f82888a03b8f 1 parent 43905a1
@katraev katraev authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  frontik/frontik_logging.py
View
3  frontik/frontik_logging.py
@@ -121,11 +121,10 @@ def handle_bulk(self, records_list, stages=None, status_code=None, exception=Non
return
record_for_gelf = copy.deepcopy(first_record)
record_for_gelf.message = "{0} {1} {2} \n".format(record_for_gelf.asctime,record_for_gelf.levelname, record_for_gelf.message)
- setattr(record_for_gelf,"short", "{0} {1} {2}".format(handler.request.method, handler.request.uri, status_code))
+ record_for_gelf.short = "{0} {1} {2}".format(handler.request.method, handler.request.uri, status_code)
record_for_gelf.exc_info = exception
record_for_gelf.levelno = 20
for record in records_list[1:]:
- print record.levelno, record_for_gelf.levelno
if record.levelno > record_for_gelf.levelno:
record_for_gelf.levelno = record.levelno
record_for_gelf.lineno = record.lineno
Please sign in to comment.
Something went wrong with that request. Please try again.