NASA-PDS / registry-mgr

Standalone Registry Manager application responsible for managing the PDS Registry (https://github.com/NASA-PDS/registry) schemas and indexes.
https://nasa-pds.github.io/registry
Other
0 stars 2 forks source link

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

Open plawton-umd opened 8 months ago

plawton-umd commented 8 months ago

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
  2. ...

🖥 Environment Info

📚 Version of Software Used

No response

🩺 Test Data / Additional context

No response

🦄 Related requirements

🦄 #xyz

⚙️ Engineering Details

No response