Basic logging level (2)
- Last Updated: January 17, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
Basic logging level (2)
The log entries for logging level 2 (Basic) include the following information, and any level above 1 (Errors) logs this information:
-
Action — For objects, this is
Created,Deleted, orDelete Pending. ForMEMPTRs, this isAllocatedorDeallocated. -
Object type — For example,
BUFFER,SERVER, orBUTTON. -
Handle value —
Handle:followed by theINTEGERvalue of the handle (0forMEMPTRs). - Routine name — The name of the .p or .w file or method where this application created or destroyed the object.
-
Line number — The line number in the .p or .w file
or method where the application created or destroyed the object.
This line number comes from the debugger listing file. When the
AVM creates a
SOCKETobject implicitly, the line number always is0.For other implicitly created objects, the line number is meaningful. For example, for an
ASYNC-REQUESThandle, it is the line number of theRUNstatement. -
IMPLICIT— Appears when the AVM created the object implicitly. -
POOLDEL— Appears when the AVM deleted the object because it was deleting the object's object pool. -
Other — For specific object types, the log output line includes
other attributes, including:
Name:followed by the object name. ForBUFFERobjects, theNameattribute is the name of the table associated with the buffer, so the entry containsTable:followed by the table name.TEMP-TABLEobjects do not show theNameattribute. This information is not available when the application creates theTEMP-TABLEobject, but only after it invokes theTEMP-TABLE-PREPAREmethod.- The allocation’s size, for
MEMPTRs. - The procedure name for
PROCEDUREobjects. - The name of the procedure associated with an
ASYNC-REQUEST-HANDLEobject (that is, the procedure that ran asynchronously). - The
Labelattribute forBROWSE-COLUMNobjects, if there is noNameattribute (for example, for calculated fields). Also, to identify the browse parenting the column, the log entry includes theBROWSEname orBROWSEhandle ID.
Here are sample BASIC log entries (with headers suppressed):
|
|
|
|