Deleting App Logs

You can delete all of the app logs for specific processes in bulk from the PSA Administration tab. This enables you to only store app logs that contain errors that require attention.

There are two ways you can delete app logs:

  • By running a batch job to immediately delete app logs created on or before a specific date. For more information, see Deleting App Logs Immediately.
  • By scheduling a batch job to run at a specific date and time. This option enables you to delete logs that are older than a specific number of days. For more information, see Scheduling the App Log Deletion.

Deleting App Logs Immediately

To delete app logs:

  1. From the PSA Administration tab, click Batch Processes | App Log Cleanup Job.
  2. Select a date in the Delete Logs Created On or Before field. App logs created on or before the specified date will be deleted.

    Note:

    To determine which app logs to delete, the app logs' Created Date system field is used, which stores the date in Coordinated Universal Time (UTC). You must therefore specify the date in UTC to ensure the correct app logs are deleted.

  3. Select one or more origins of the app logs you want to delete.

  4. Click Run. You receive a notification and an email when the process is complete.

Scheduling the App Log Deletion

To schedule the deletion of actuals, billing, and EVAs app logs:

  1. From the PSA Administration tab, click Batch Processes | Schedule App Log Cleanup Job. The Schedule App Log Cleanup Job window opens.
  2. In the Delete Logs field, select an option to delete the logs.
  3. Select one or more origins of the app logs you want to delete.

  4. In the Schedule Frequency field, select one of the following:

    • "Hourly": if you want the job to run every hour.
    • "Daily": if you want the job to run once every day.
    • "Weekly": if you want the job to run on specific days of the week. You can then select the days.
    • "Monthly": if you want the job to run once every month. You can then select a monthly method to determine on which day of the month the job runs.

    Depending on your selection, additional options might be available. For more information see Additional Schedule Fields

  5. In the Schedule Start Time field, select the time of day when you want the job to run.
  6. Click Schedule. A batch job is scheduled.

Additional Schedule Fields

The following fields might become available depending on the selected schedule frequency.

Additional Schedule Fields
Field Description
Sun, Mon, Tue, Wed, Thu, Fri, Sat

Only available when Weekly is selected as the frequency. Determines whether the job runs on the specific day of the week.

For example, if you select Mon, the job runs each Monday at the specified start time.

Monthly Method

Only available when Monthly is selected as the frequency. Determines how to calculate the day of the month on which the job runs. The following options are available:

  • "Last Day of Month". Note that this is the last calendar day of the month. If a month ends on a Saturday, the job runs on that day.
  • "Date"
  • "Day of the Month"
  • "Days Before Month End"
Day of the Month (number)

Only available when "Date" is selected as the monthly method. Determines the date on which the job runs each month.

For example, if you enter 15, the job runs on the 15th of each month.

Day of the Month (picklist) Only available when "Day of the Month" is selected as the monthly method. Determines on which occurrence of the day selected in Day of the Week the job runs.
Day of the Week

Only available when "Day of the Month" is selected as the monthly method. Combined with the value selected from the Day of the Month picklist, determines on which occurrence of the day the job runs.

For example, if you select "Last" and "Friday", the job runs on the last Friday of each month, regardless of the date.

Number of Days

Only available when "Days Before Month End" is selected as the monthly method. Determines how many calendar days before the end of each month the job runs.

For example, if you enter 3, the job runs on January 28, February 25 (non-leap year), March 28, April 27, and so on.

Note:

If you set this to 1, the job runs on the day before the last day of each month. If you want to execute the job on the last day of each month, use the "Last Day of Month" method.