[SERVER-82908] Add magic restore log path parameter and generate magic restore-specific logs Created: 07/Nov/23  Updated: 02/Feb/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Ali Mir Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

This ticket will add a new command line parameter (--magicRestoreLogPath) to specify where magic restore logs should go. This ticket will also likely need to investigate how we can log to two places at once, since the db will be writing to --logPath while magic restore needs to additionally output its logging to this separate file.

It's still a little unclear exactly what logging should go specifically in the magic restore logs. It sounds like we want each step that was completed for magic restore, as well as any errors that occur. We should confirm with Cloud, but to start we can log "Starting [step]..." and "Finished [step]...". SERVER-85816 can sync up with Cloud and see what changes we need to make.


Generated at Thu Feb 08 06:50:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.