Skip to main content
Last Updated: 2026-04-03
Enable Custom Log Send Diagnostic Data

Enable Custom Log Send Diagnostic Data

The Custom Log Send Diagnostic Data feature helps resolve your issues faster by automating error log reporting and management. It automatically sends the necessary diagnostic data from Salesforce directly to Workday, eliminating the time-consuming, manual process of collecting logs through the Salesforce AppExchange License Management Application (LMA). This automation streamlines troubleshooting, leading to quicker resolutions.
To protect your privacy, the feature only collects the minimal, non-sensitive data required for troubleshooting and doesn't gather any personally identifiable information (PII).
The feature also includes 2 settings that control an automated log cleanup task, which prevents logs from accumulating indefinitely. These settings work together to automatically delete old or excessive logs.
Workday recommends that you enable the Custom Log Send Diagnostic Data feature at all times for better error management.
  1. Enable Evisort logging in Salesforce.
    1. From
      Setup
      , go to
      Custom Metadata Types
      .
    2. Click
      Manage Records
      for the entry labelled evisort
      Log_Settings
      .
    3. Click
      Edit
      for the entry labelled
      Default
      . Create this entry if it is not there.
    4. Select the
      Enable Logging
      check box.
  2. Allow API connections to the Evisort web services.
    1. From
      Setup
      , go to
      Remote Site Settings
      .
    2. Click
      Edit
      for the entry labelled
      AstroApiProd
      .
    3. Select the
      Active
      check box and ensure the
      Remote Site URL
      value is
      https://astro.evisort.com/
  3. Enable sending log data to Evisort.
    1. From
      Setup
      , go to
      Custom Settings
      .
    2. Click
      Manage
      for the entry labelled
      Evisort Workspace Settings
      , then click
      Edit
      .
    3. Select the
      Custom Log Send Diagnostic Data
      check box.
    4. (Optional) Set the
      Custom Log Retention Period (Days)
      to reduce the volume of storage consumed by logs. If you don’t set it, Salesforce defaults the retention period to 30 days.
    5. (Optional) Set the
      Custom Log Max Entries (Count)
      to any number between 100 and 2000. If you don’t set it, this setting has no effect.
  4. Schedule automated log transmission in
    Schedule Apex
    .
    1. From
      Setup
      , go to
      Scheduled Jobs
      .
    2. Click
      Schedule Apex
      .
    3. In the
      Job Name
      field, enter
      Send Logs To Evisort
      .
    4. In the
      Apex Class
      field, enter
      SendErrorLogsToExternalBatch
      .
    5. Schedule the job to run once a day by selecting the check boxes for each day of the week. Enter today's date for the start date and enter the furthest possible date in the future for the end date.
    6. Click
      Save
      .