We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1519a9f commit cd9cc48Copy full SHA for cd9cc48
1 file changed
app_python/app.py
@@ -43,7 +43,7 @@ class JSONFormatter(logging.Formatter):
43
44
def format(self, record):
45
payload = {
46
- "timestamp":
+ "timestamp":
47
datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ"),
48
"level": record.levelname,
49
"logger": record.name,
@@ -295,4 +295,5 @@ def log_response(response):
295
"status_code": 200,
296
},
297
)
298
- app.run(host=HOST, port=PORT, debug=DEBUG, use_reloader=False)
+ app.run(host=HOST, port=PORT, debug=DEBUG, use_reloader=False)
299
+
0 commit comments