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 ABL Agent Log for MDC
 
Configure ABL Agent Log for MDC
The only supported MDC field that is passed to the ABL Agent for logging is Request Id. This field is present in the PAS for OpenEdge multi-session agent via the currentRequestInfo attribute Request Id.
In OpenEdge 11.7.4 and higher, the request-id MDC field information is not automatically added to the PAS for OpenEdge Agent log file. It must be turned on after any adjustments are made in ABL log file parsers are updated.
To enable the request Id to be sent in ABL Agent logging, edit the bin\openedge_setenv script in the following manner:
*For Unix:
# Turn on extended client request ID logging in the
# multi-session Agent
REQIDLOGGING=y ; export REQIDLOGGING
*For Windows:
rem Turn on extended client request ID logging in the
rem multi-session Agent
set REQIDLOGGING=y
The ABL language has access to the MDC request-id field information via the SESSION:CURRENT-REQUEST-INFO:REQUESTID attribute. It does not require modifications to the bin/openedge_setenv.{sh|bat} file to use the MDC request-id field in your ABL application logging.