NASA-PDS/registry-mgr

When delete-data command is used, log file specified is empty

Opened this issue ยท 0 comments

Checked for duplicates

Yes - I've already checked

๐Ÿ› Describe the bug

When I ran registry-manager with the delete-data command and a log file specified after the -l, the log file was empty. There was output - it was included in the email from the cron job.

๐Ÿ•ต๏ธ Expected behavior

I expected the information received in the cron tab's email to be in the specified log file (like harvest's log file).

๐Ÿ“œ To Reproduce

  1. registry-manager delete-data -packageId 91dd1d72-c568-4031-9b90-697af955e4a8 -es $OPENSEARCH_URL -index registry -auth $AUTH_FILE -l package_delete.log

...

๐Ÿ–ฅ Environment Info

  • Version of this software 4.6.2
  • Operating System: Linux
    ...

๐Ÿ“š Version of Software Used

No response

๐Ÿฉบ Test Data / Additional context

No response

๐Ÿฆ„ Related requirements

๐Ÿฆ„ #xyz

โš™๏ธ Engineering Details

No response