Salesforce

How to configure PAS debug logging in OpenEdge 12.0?

« Go Back

Information

 
TitleHow to configure PAS debug logging in OpenEdge 12.0?
URL NamePAS-debug-logging-in-OpenEdge-12-0-pasoe-webapp-logging-oe-12
Article Number000113438
EnvironmentProduct: OpenEdge PASOE
Version: 12.x
OS: All supported platforms
Other: PASOE Logging
Question/Problem Description
How to configure PASOE debug logging in OpenEdge 12.0?

How to enable debug logging for Web applications (REST, SOAP, APSV, or WEB transports) in OE 12?
PASOE WEBAPP debug logging in OE 12 ?
Why can debug logging not be set a the WebApp level in OpenEdge 12?
Can't see enhanced logging at the WebApp level in OpenEdge 12 logging.xml

In 11.7.x LDAP debug logging is set in the: <Instance>\webapps\App\WEB-INF\logging.xml: 
<logger name="org.springframework.security.ldap" level="DEBUG"/>       
<logger name="org.springframework.ldap" level="DEBUG"/>       
<logger name="com.progress.appserv.services.security.OEADProvider" level="DEBUG"/>

 
Steps to Reproduce
Clarifying Information
Error Message
Defect NumberDefect OESS-2870
Enhancement Number
Cause
Defect OESS-2870 has been raised to Document OpenEdge 12 ABL web app logging using logging-ablapp.xml
Resolution
The reason enhanced (debug) logging isn’t at the WebApp level in OpenEdge 12 is because:
  • Logging configurations at the ABL WebApp level gets in the way, especially when multiple ABL web apps are deployed to the same ABL application.   
  • In OpenEdge 12, logging files are recorded at the ABL application scope, where the logging configuration control matches the actual log file scope. 
  • The logging configuration is moved to the ABL application's configuration (ablapps/<ablapp>/conf/logging-ablapp.xml) which covers all deployed ABL web apps.   
In OpenEdge 12.0 logging is in the in logging-ablapp.xml
  • The conf/logging-ablapp.xml is the <template> that gets copied at ABL application initialization time when you use the tcman create command.   
  • The tcman create copies conf/logging-ablapp.xml into the new ablapps/<ablapp>/conf//logging-ablapp.xml file.   
  • The logging framework does not include and use conf/logging-ablapp.xml configuration file for run-time logging - it only includes and uses the ablapps/<ablapp>/conf/logging-ablapp.xml file.

ABL web app logging can be set at multiple levels depending on the which configuration is changed:
  • To turn it on for the Instance, edit $CATALINA_BASE/conf/logging-ablapp.xml
  • To turn it on for an ABL Application, edit $CATALINA_BASE/ablapps/[ABLAppName]/conf/logging-ablapp.xml
  • To turn it on for the WebApp level, copy the relevant logging lines from the ABL application's logging-ablapp.xml file to each ABL web app's logging.xml.  It is not very efficient to configure logging this way, which is why it was changed from OpenEdge 11 in OpenEdge 12.
Workaround
Notes
Keyword Phrase
Last Modified Date11/20/2020 6:59 AM

Powered by