add updateFailed to update the file that is failed to copy from S3 to
Redshift
move the logger to the service