Salesforce

How to increase the logging level for the OpenEdge AdminServer?

« Go Back

Information

 
TitleHow to increase the logging level for the OpenEdge AdminServer?
URL NameP135951
Article Number000131149
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x, 12.x
OS: All supported platforms
Other: AdminServer
Question/Problem Description
How to increase the logging level for the OpenEdge AdminServer?
How to enable additional logging level debug messages for the AdminServer in OpenEdge?
How to get additional Debugging Messages for the AdminServer on OpenEdge?
How to increase the AdminServer logging level in the AdminServerPlugins.properties file?
How to set the AdminServer log level to 5 for detailed logging?
How to add extended logging for AdminServer startup issues?
How to gather additional information when the AdminServer doesn't start?
How to further diagnose RMI communication issues between the AdminServer and the OpenEdge resources is manages?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

When increased AdminServer logging is needed:

Extended logging is enabled by adding the required logging -Dargs to the 'jvmargs=' line under the AdminServer section of the DLC/properties/AdminServerPlugins.properties file

  • As long as the AdminServer has not been started up in interactive mode (-interactive true), STDOUT and STDERR are written to the admserv.log.
  • This logging level accepts values from 1 to 5, being 3 the default. 
  • Each logging level will contain entries from the previous logging levels. Logging level 5 will contain all messages from 0 to 5.
Where:
0: Severe Error
1: Error
2: Warning
3: Information
4: Security
5: Verbose


For OpenEdge 10.1B to 11.6:

  • Under the section: [PluginPolicy.Progress.AdminServer]  
  • jvmargs=-Xmx512m -DLogLevel=5 (... remainder of existing parameters)

For OpenEdge 11.7:

  • Under the sections : [PluginPolicy.Progress.AdminServer] &  [PluginPolicy.Progress.ProAdsv] 
  • When the AdminServer is started as a Service, jvmstart makes use of the "PluginPolicy.Progress.AdminServer" section, otherwise PROADSV uses the "PluginPolicy.Progress.ProAdsv" section. It is advisable to update both sections. 

There is a defect that prevents jvmargs=-DLogLevel  specifically from working on in later 11.7 versions.  Cannot increase adminserver logging level from AdminServerPlugins.properties file
This does not affect -Djava.rmi.server.logCalls or -Djvmstart.debug outlined below, which are added to jvmargs.

Either start the AdminServer with the logging level required:

a. proadsv -start -loglevel 5

   
{AND OR} Use the online method instead:

b. http://localhost:9090/diagnostics/logconsole.jsp
Where for example: Logging Subsystem levels
(enable )  AdminServer & Security == Verbose
(enable )  OpenEdge == Extended
 

OE 12.x:

The parameter is now lowercase -Dloglevel

 

When diagnosing issues with AdminServer startup:

Debugging information for all processes the AdminServer starts using the jvmStart executable will be created in a jvmStart.log file.
Where debugging information is enabled by adding "-Djvmstart.debug=1" to the 'jvmargs=' line as above. This parameter only accepts values: 0 or 1, jvmStart debugging can either be turned on or off.

Example:

jvmargs=-Xmx512m -DLogLevel=5 -Djvmstart.debug=1 (... remainder of existing parameters)

When diagnosing issues with a client having issues communicating with the AdminServer:

Increased RMI communications tracing information can be turned on by adding "-Djava.rmi.server.logCalls=true" to the 'jvmargs=' line as above. This parameter only accepts values; true or false, RMI tracing can either be turned on or off.

Example:

jvmargs=-Xmx512m -DLogLevel=5 -Djava.rmi.server.logCalls=true (... remainder of existing parameters)

The AdminServer will need to be restarted after saving the above changes to the AdminServerPlugins.properties file.

To disable extended logging, the AdminServer will have to be stopped and restarted after reverting the above changes.

Since OpenEdge 11.5 verbose logging for specific areas can be enabled and disabled online without having to restart the AdminServer. For further information refer to Article:

In Progress 9 logging levels can be increased by modifying the proadsv.bat or Windows Registry as outlined in Article:

Enabling interactive mode for troubleshooting:

Some issues prevent the AdminServer from generating a log, the interactive parameter allows the redirection of STDOUT and STDERR to the console.

Prior to 12.x

proadsv -start -interactive true -loglevel 5

12.x+

proadsv -start -interactive true -loglevel 5 -consolelog true

 

Workaround
Notes
Keyword Phrase
Last Modified Date10/14/2025 8:13 PM

Powered by