- 
    Type:Task 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: None
- 
    None
Extend CliUserConfig with the `logRetentionDays` setting to allow users to specify a retention time in the number of days, keeping the default of 30 days.
This `logRetentionDays` setting should work in combination with the `logRetentionGB` and `logMaxFileCount` setting. See tech design for more details.
- related to
- 
                    MONGOSH-1985 Custom log retention in GB -         
- Closed
 
-         
- 
                    MONGOSH-1987 Custom log max file count -         
- Closed
 
-