pub fn clean_old_logs( log_dir: &str, retention_days: i64, glob_pattern: &str, prefix: &str, ) -> Result<(), LSError>