DS_LOG_AUTOPURGE_IGNORE_STATUS
Set the DS_LOG_AUTOPURGE_IGNORE_STATUS environment variable to prevent Auto-purge from purging log records for jobs that fail.
By default, Auto-purge purges all log records for jobs as
defined in the Administrator client. Set DS_LOG_AUTOPURGE_IGNORE_STATUS
to a comma separated list of status codes that should not be purged.