I am logging CSV files to a remote mapped drive, but I get an error with the data logging.

Either enable the SYSTEM account to have read and write access to the mapped drive and directory, or set the OAS Service LogOn to a user account, the same as the steps in setting the OAS Data Service LogOn, but set the LogOn for the OAS Service.