placement_group_size_control #2

Closed
jmplace wants to merge 150 commits from placement_group_size_control into master
Showing only changes of commit 550a7888bf - Show all commits

View File

@ -2,7 +2,6 @@
# pylint: disable=invalid-name
import os
import reprlib
import socket
import sys
import time
@ -112,8 +111,8 @@ class LogExceptionFormatter(logging.Formatter):
if request.method == "GET":
record.http_params = str(request.args)
else:
rep = reprlib.Repr() # abbrège
record.http_params = str(rep.repr(request.form))
# rep = reprlib.Repr() # abbrège
record.http_params = str(request.form)[:2048]
else:
record.url = None
record.remote_addr = None