harbor/src/server/middleware/log
pgillich eec5342490
feat: log with trace ID (#18181)
feat: log trace ID

Implements #18029

If the Trace ID is sent to the Harbor in HTTP header or the tracing
is enabled (and the Trace ID is generated), the Trace ID will be
added to the log lines as a new field.

Signed-off-by: Peter Gillich <pgillich@gmail.com>
2023-04-17 15:03:00 +08:00
..
log_test.go feat: log with trace ID (#18181) 2023-04-17 15:03:00 +08:00
log.go feat: log with trace ID (#18181) 2023-04-17 15:03:00 +08:00