Try OpenEdge Now
skip to main content
New Information
Progress Application Server for OpenEdge : Troubleshoot problems : Enhanced Mapped Diagnostic Content Logging in PAS for OpenEdge : Configure MDC access to HTTP Request Headers
 
Configure MDC access to HTTP Request Headers
Access to HTTP Header values as MDC fields can be set using the OEReqHead.xxxxx token, where xxxxx is the case-insensitive HTTP header name. The OpenEdge MDC support does not automatically make all HTTP headers available as MDC values. You must configure the list of header names if that level of information is required in your log files.
To configure the list of HTTP headers available as MDC fields:
1. Edit the PAS for OpenEdge instance conf/oeablSecurity.properties file, so the list is available to all deployed ABL applications and their ABL webapps.
2. Append the MDC.filter.headerList property with a comma separated list of header names:
MDC.filter.headerList=<http-header-list>
<http-header-list> := <header-name>[,<header-name>[,...]]
<header-name> := <case-insensitive header-name>
3. Save the oeableSecurity.properties file. The HTTP Request Header name is available for use in OEReqHead fields, as described in Configure Tomcat Access Logs for MDC, Configure ABL Spring and Sesson Manager Logs for MDC, and Configure Spring Authentication and Authorization Audit Logs for MDC.