Salesforce

How to enable logging in Developer Studio?

« Go Back

Information

 
TitleHow to enable logging in Developer Studio?
URL NameP173077
Article Number000140525
EnvironmentProduct: OpenEdge
Version: All Supported Versions
OS: Windows
Other: OpenEdge Architect, Progress Developer Studio for OpenEdge
Question/Problem Description

How to enable logging and generate log files in OpenEdge Architect?
How to enable client logging and generate a client log file in Progress Developer Studio for OpenEdge?
How to turn on logging for the progress.log in OpenEdge Architect?
How to to turn on logging for the .log in OpenEdge Architect?
 
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
1.  To enable client logging and generate a client log file add startup parameters similar to the following under Project > Properties > OpenEdge:
-clientlog C:/log.txt -logginglevel 4 -logentrytypes 4GLTrace

2.  To generate the progress.log and the .log files, open the %DLC%\oeide\eclipse\eclipse.ini file, append the following lines at its end and save it: (4 is Debug, 3 is Info, and 2 is Warning. Default is 1 i.e. Error)

-Doeide.logging=4
-Doeide.logging.types=IDECommands,IDE

The above steps create the three log files:

a.  C:/log.txt
b.  <workspace-dir>\.metadata\.plugins\com.openedge.pdt.project\<project-name>\progress.log
c.  <workspace-dir>\.metadata\.log

3. To enable feature based logging:

In \.metadata\log4j2.xml, example for VisualDesigner, change the logging level from error to debug. Check logs from \.metadata\.log file and \.metadata\logs folder
Workaround
Notes
Keyword Phrase
Last Modified Date9/12/2024 11:34 PM

Powered by