When running a progress-4gl program, I am able to write to a log file using the log-manager. However, when writing out message statements they only appear when I use message view-as alert-box. ie:
log-manager:logfile-name = "queue.p"
message "this will not appear".
message "this will appear" view-as alert-box.
Will show up in the log file as:
[12/05/10@09:03:21.154-0700] P-11993170 T-000001 1 4GL — this will appear
Is there any way I can force the log-manager to write out message statements that do not include view-as alert-box? Our legacy code uses the message statement everywhere and I would prefer to not have to go through all related libraries updating it.
I fear getting messages (without “VIEW-AS ALERT-BOX”) to the clientlog file is not possible.
Progress help says: “OpenEdge writes all ABL VIEW-AS ALERT-BOX messages to the log file”.
(LOG-ENTRY-TYPES attribute > 4GLMessages).