Salesforce

How to increase AdminServer logging without restarting

« Go Back

Information

 
TitleHow to increase AdminServer logging without restarting
URL NameHow-to-increase-AdminServer-logging-online
Article Number000128252
EnvironmentProduct: OpenEdge
Version: 11.5 and later
OS: Windows
Question/Problem Description
How to increase AdminServer logging without restarting the adminserver?
How to increase specific AdminServer logging without having to add entries to startup configuration files
How to enable verbose logging for the AdminServer online
How to add extended AdminServer logging only when a problem starts happening?
How to further diagnose RMI communication issues between the AdminServer and the OpenEdge resources is manages once they are started?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The Adminserver has to be restarted in order to increase the logging levels after modifying: Since OpenEdge 11.5 an AdminServer restart is no longer needed for increased logging levels to be effective, this can be done online:
  1. Login to the OE Console with an Admin privilege user.
  2. Open http://localhost:9090/diagnostics/logconsole.jsp
  3. Change the required logging level(s).  The amount of information logged by each subsystem through system properties.
  4. When the logging level is changed a message is written to the admserv.log, example:
[Fathom]                User admin changed subsystem Security log write level to 4

Example: Logging Subsystem levels
AdminServer & Security == Verbose;
OpenEdge == Extended

After increasing the AdminServer required logging levels, extended logging is written to the admserv.log file for as long as needed. For example:
  • When a page is next accessed
  • When a job is next started
  • When osmetrics are next polled
  • When CPU / memory start spiking
  • When jvmstart is used
Once extended logging is no longer needed, turn off the advanced logging so that the logfiles do not grow.  Changing the "Global Write Level" is useful in this regard.

Note: It also resets at restart. 

OEM Extended Logging online
Workaround
Notes
Keyword Phrase
Last Modified Date7/22/2024 6:11 PM

Powered by