You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+6
Original file line number
Diff line number
Diff line change
@@ -881,7 +881,13 @@ Default templates for project boards:
881
881
-`Identity`: the SignedUserName or `"-"` if not logged in.
882
882
-`Start`: the start time of the request.
883
883
-`ResponseWriter`: the responseWriter from the request.
884
+
-`RequestID`: the value matching REQUEST_ID_HEADERS(default: `-`, if not matched).
884
885
- You must be very careful to ensure that this template does not throw errors or panics as this template runs outside of the panic/recovery script.
886
+
-`REQUEST_ID_HEADERS`: **\<empty\>**: You can configure multiple values that are splited by comma here. It will match in the order of configuration, and the first match will be finally printed in the access log.
887
+
- e.g.
888
+
- In the Request Header: X-Request-ID: **test-id-123**
889
+
- Configuration in app.ini: REQUEST_ID_HEADERS = X-Request-ID
0 commit comments