24.2.7 Controlling the Debug Level for an Instance
Change the default instance-wide Debug Level using the
APEX_INSTANCE_ADMIN API
For example, to set the Debug Level to Application Trace
(LEVEL6), execute a statement similar to the following as
SYS or the database user who has been granted the
APEX_ADMINISTRATOR_ROLE database role.
BEGIN
APEX_INSTANCE_ADMIN.SET_PARAMETER(
p_parameter => 'SYSTEM_DEBUG_LEVEL',
p_value => '6');
COMMIT;
END;
Parent topic: Utilizing Debug Mode