Skip to content

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

@plawton-umd

Description

@plawton-umd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ToDo

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions