Oracle9iAS Portal Developer Kit

Event logging API packages

This topic presents an overview of the routines in the wwlog_api and wwlog_api_admin API packages.

These API packages contain all the routines necessary to perform the following operations:

Event logging API (wwlog_api) topic names and descriptions

Events, event logging, and event properties

Explains the logging and monitoring of events in the wwlog_api and wwlog_api_admin API packages.

Using the event logging service

Explains start-stop logging, single-step logging, viewing logged events, and logging table field names and definitions.

Logging service and administration constants

Presents constants defined in the wwlog_api and wwlog_api_admin API packages.

Logging service and administration exceptions

Presents exceptions that may be raised by methods in the wwlog_api and wwlog_api_admin API packages.

start_log function

Starts a logging event and returns its log ID.

stop_log procedure

Stops a logging event that was started with the start_log function.

update_log_
information procedure

Updates the value of the information column for an existing transaction record.

log procedure

Inserts a record with specified values.

get_log_registry function

Retrieves an array containing all existing log registry records.

Administrative event logging API (wwlog_api_admin) topic names and descriptions

Event logging administration and reports

Explains logging administration and presents the administrative methods used to support the event logging service.

Secured logging views

Presents and explains the table views that are created to expose the log records for a single subdomain.

Logging service and administration exceptions

Presents exceptions that may be raised by methods in the wwlog_api and wwlog_api_admin API packages.

get_log_interval function

Returns the minimum interval between log purges, in days.

set_log_interval procedure

Sets the event log purge interval, in days.

get_log_info procedure

Indicates which log table was most recently used, which log table should be used for the next log record, and if the replacement for the current log must be purged before the current log record is saved.

purge_log procedure

Purges all log records out of the specified log file.

add_log_event function

Adds a logging domain, subdomain, and action as events in the wwlog_event$ table.

remove_log_event procedure

Removes a record from the wwlog_event$ table.

add_log_registry function

Adds a record to the wwlog_registry$ table.

remove_log_
registry procedure (by ID)

Removes a record from the wwlog_registry$ table.

remove_log_
registry procedure (multiple parameters)

Remove a record from the wwlog_registry$ table.

 

Related topics

 

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio