Skip to content

Commit 139c97e

Browse files
committed
more consistency
1 parent 95fc11b commit 139c97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/gunicorn/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_json_record(self, record: logging.LogRecord) -> dict[str, Any]:
6464
"time": datetime.strptime(args["t"], "[%d/%b/%Y:%H:%M:%S %z]").isoformat(),
6565
"path": url,
6666
"remote_ip": args["h"],
67-
"route": args.get(f"{{{WSGI_EXTRA_PREFIX}route}}e") or "-",
67+
"route": args.get(f"{{{WSGI_EXTRA_PREFIX}route}}e") or "",
6868
"method": args["m"],
6969
"status": str(args["s"]),
7070
"user_agent": args["a"],

0 commit comments

Comments
 (0)