aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/stress_test.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-15 15:03:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-15 15:03:09 +0300
commitb9a3a79fe378393e6803c8103f745f905e44a031 (patch)
tree416969348139e5dfe0b34478dcd7e7bac3da7441 /test/stress_test.py
parentstress_test.py: make it work with older Python (diff)
downloadmath-server-b9a3a79fe378393e6803c8103f745f905e44a031.tar.gz
math-server-b9a3a79fe378393e6803c8103f745f905e44a031.zip
stress_test.py: fix datetime format in logs
Diffstat (limited to '')
-rwxr-xr-xtest/stress_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/stress_test.py b/test/stress_test.py
index b7d095b..883c874 100755
--- a/test/stress_test.py
+++ b/test/stress_test.py
@@ -231,6 +231,7 @@ def _parse_args(argv=None):
def _logging():
logging.basicConfig(
format='%(asctime)s | %(levelname)s | %(message)s',
+ datefmt='%Y-%m-%d %H:%M:%S',
level=logging.DEBUG)
try:
yield