diff --git a/dev-tools/oxlog/src/lib.rs b/dev-tools/oxlog/src/lib.rs index 713bd07c66..7e20833164 100644 --- a/dev-tools/oxlog/src/lib.rs +++ b/dev-tools/oxlog/src/lib.rs @@ -245,7 +245,12 @@ impl Zones { let Some(paths) = self.zones.get(zone) else { return BTreeMap::new(); }; - load_svc_logs(paths.primary.clone(), &mut output); + // Some rotated files exist in `paths.primary` that we track as + // 'archived'. These files have not yet been migrated into the debug + // directory. + if filter.current || filter.archived { + load_svc_logs(paths.primary.clone(), &mut output); + } if filter.archived { for dir in paths.debug.clone() {