IBM Verify

 View Only

 Webseal logging

Nonkululeko Bebeza's profile image
Nonkululeko Bebeza posted Wed May 28, 2025 06:11 AM

Good Day,

Can we print certain headers in the webseal request logs without having to enable debug logging? For example, if the header is x-ned-correlation-id as an example, can we specify this header must be printed in the request logs?

JACK YARBOROUGH's profile image
JACK YARBOROUGH

Hello Nonkululeko,

This is possible using the 'request-log-format' entry and the '%{header-name}i' directive:
https://www.ibm.com/docs/en/sva/11.0.0?topic=stanza-request-log-format

%{header-name}i
    Contents of the Header header-name in the request.

For your use case you'd add '%{x-ned-correlation-id}i' to the 'request-log-format' entry.

Nonkululeko Bebeza's profile image
Nonkululeko Bebeza

Thank you, Jack. I will try this.