Managing Log Entries

Oracle Application Express administrators can delete log entries on the Logs page.

Topics:

Deleting SQL Workshop Logs

The SQL Workshop logs maintain a history of recent commands and scripts run in the SQL Commands

To delete log files entries:

  1. Log in to Oracle Application Express Administration Services. See "Logging in to Oracle Application Express Administration Services".

  2. Click Manage Service.

  3. Under Manage Service, click Logs.

    The Logs page appears.

  4. Click SQL Workshop logs.

  5. Click one of the following:

    • Script File executions log entries

    • SQL Command Processor history entries

  6. On the Clean up Logs page:

    • To delete entries by age, specify the age of the entries to be deleted and click Delete Entries.

    • To delete all entries, click Truncate Log.


See Also:

"Accessing a Command from Command History"in Oracle Application Express SQL Workshop and Utilities Guide

Deleting Page View Activity Log Entries

Page view activity logs track user activity for an application. Developers enable logging within their application using the Logging attribute on the Edit Definition page.


See Also:

"About the Edit Definition Page" in Oracle Application Express Application Builder User's Guide

The Application Express engine actually uses two logs to track user activity. At any given time, one log is designated as current. For each rendered page view, the Application Express engine inserts one row into the log file. A log switch occurs at the interval listed on the Manage Activity Logs page. At that point, the Application Express engine removes all entries in the noncurrent log and designates it as current.

To truncate the activity logs manually:

  1. Log in to Oracle Application Express Administration Services. See "Logging in to Oracle Application Express Administration Services".

  2. Click Manage Service.

  3. Under Manage Service, click Logs.

    The Logs page appears.

  4. Click Page View Activity Log, with option to truncate.

  5. Click Truncate Logs.

  6. Click either Truncate Log 1 or Truncate Log 2.

Deleting Developer Activity Log Entries

The Developer Activity Log tracks changes to applications within an individual workspace. Log entries older than one month are automatically deleted.

To delete Developer Activity Log entries:

  1. Log in to Oracle Application Express Administration Services. See "Logging in to Oracle Application Express Administration Services".

  2. Click Manage Service.

  3. Under Manage Service, click Logs.

    The Logs page appears.

  4. Click Developer Activity Logs, with option to delete entries.

  5. On the Developer Activity Log page, click Manage.

  6. Specify the age of the entries to be deleted and click Delete Entries.


See Also:

"Viewing Application Changes by Developer" for information about the Developer Activity Log

Deleting Click Counting Log Entries

The External Clicks Log counts clicks from an Oracle Application Express application to an external site. You can implement this functionality using the APEX_UTIL.COUNT_CLICK procedure.

To delete click counting log entries:

  1. Log in to Oracle Application Express Administration Services. See "Logging in to Oracle Application Express Administration Services".

  2. Click Manage Service.

  3. Under Manage Service, click Logs.

    The Logs page appears.

  4. Click External Click Counting Log, with option to truncate.

  5. On the External Click Counting Log page, click Manage.

  6. Specify the age of the entries to be deleted and click Delete Entries.


See Also:

"COUNT_CLICK Procedure" in Oracle Application Express API Reference

Deleting Mail Log Entries

The Oracle Application Express Mail Log records the message header information and send date of successfully sent mail message.

To truncate the mail log:

  1. Log in to Oracle Application Express Administration Services. See "Logging in to Oracle Application Express Administration Services".

  2. Click Manage Service.

  3. Under Manage Service, click Logs.

    The Mail Logs page appears.

  4. To control the number of rows that display, make a selection from the Display list and click Go.

  5. Click Mail Log.

  6. On the Mail Log page, click Truncate.


See Also:

"Managing Mail"

Deleting the Login Access Log

This table records authentication events by developers and administrators accessing the Oracle Application Express environment and by end users of Oracle Application Express applications that use the built-in login APIs available to developers. Log entries are aged out of the log tables and purged periodically.

To truncate the Login Access log:

  1. Log in to Oracle Application Express Administration Services. See "Logging in to Oracle Application Express Administration Services".

  2. Click Manage Service.

  3. Under Manage Service, click Login Access Log.

    The Login Access Log page appears.

  4. Click Manage.

  5. On the Manage Login Access Log page, click Delete Entries.