Skip to content

Conversation

@MarcelBochtler
Copy link
Member

Add the value of the X-Client-Type header for tracking UI and CLI clients to the MDC logs. This can be used to distinguish all API requests originating from the known clients from unknown ones.

Add the value of the `X-Client-Type` header for tracking UI and CLI
clients to the MDC logs. This can be used to distinguish all API
requests originating from the known clients from unknown ones.

Configure the CLI as `ort-server-cli` and the UI as `ort-server-ui`.
For unknown clients that do not set this header, the value of the
`User-Agent` header will be used.

Signed-off-by: Marcel Bochtler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant