Open Source API Gateway

logContext

Version

Puts the current API proxy's name into the logging ThreadContext under the key api for the duration of the exchange, so it can be included in log output (e.g. via a pattern layout); the entry is removed once the exchange finishes or aborts.

Syntax

logContext: {}
logContext: {}

Can be used in