Add some debug to make it easier to work on user-reported defects.
Write the partial phone number to the log (user can provide this). This allows us to search and find the start time for the issue. Then link the partial phone number to the job_id through the logging, so that we can also search by job_id. This will allow us to determine if create_job runs successfully and if the one-off csv gets uploaded successfully to S3.
Security Considerations
Masking the phone number is something we ultimately want to do in all log statements, not just special ones. This will prevent inadvertently dumping the full phone number to the logs through debug statements.
Description
Add some debug to make it easier to work on user-reported defects.
Write the partial phone number to the log (user can provide this). This allows us to search and find the start time for the issue. Then link the partial phone number to the job_id through the logging, so that we can also search by job_id. This will allow us to determine if create_job runs successfully and if the one-off csv gets uploaded successfully to S3.
Security Considerations
Masking the phone number is something we ultimately want to do in all log statements, not just special ones. This will prevent inadvertently dumping the full phone number to the logs through debug statements.