17.16 REMOVE_DEBUG_BY_AGE Procedure
Use this procedure to delete from the debug message log all data older than the specified number of days.
Syntax
APEX_DEBUG.REMOVE_DEBUG_BY_AGE (
    p_application_id    IN NUMBER,
    p_older_than_days   IN NUMBER);  Parameters
Table 17-10 APEX_DEBUG.REMOVE_DEBUG_BY_AGE Procedure Parameters
| Parameter | Description | 
|---|---|
| 
 | The application ID of the application. | 
| 
 | The number of days data can exist in the debug message log before it is deleted. | 
Example
This example demonstrates removing debug messages relating to the current application, that are older than 3 days old.
BEGIN
    APEX_DEBUG.REMOVE_DEBUG_BY_AGE (
        p_application_id  => TO_NUMBER(:APP_ID),
        p_older_than_days => 3 );
END;Parent topic: APEX_DEBUG