Client Logging from the startup Icon

Sometimes you can’t trap an error because the application crashes out.  To track everything you can switch on OpenEdge Client Logging.  This can be done from within the code, or at startup using the icon.

Windows Icon target line example

C:\dlcv102b\bin\prowin32.exe -basekey “INI” -ininame testapp.ini -pf pf\testapp.pf -clientlog c:\testapp\applog.txt -logginglevel 4 -p appstart.p

Code Example

LOG-MANAGER:LOGFILE-NAME = SESSION:TEMP-DIRECTORY + “applog.txt”.
LOG-MANAGER:CLEAR-LOG () .
LOG-MANAGER:LOG-ENTRY-TYPES = “4GLTrace:5,4GLMessages” .

Dave Walker
Dave Walker is a developer with 20+ years IT experience. Working with Progress/OpenEdge since 1995 he's been involved through the full gambit of the software development life cycle, from systems design through to front line support, customer training, and everything in between. Dave doesn't enjoy writing about himself in the third person.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.