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 middle aged programmer living in North Yorkshire, who loves music and used to enjoy constantly restarting fitness regimes with a bit of football, cycling, swimming & jogging. Now I just eat biscuits.

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.