in packages/app/src/handlers/set-log-shipping.ts [13:23]
function eligibleForLogShipping(
logNamePrefixes: string[],
groupName: string,
excludeName: string,
): boolean {
const matchesPrefix =
logNamePrefixes.length == 0 ||
logNamePrefixes.some((prefix) => groupName.startsWith(prefix));
const isExcluded = groupName === excludeName;
return matchesPrefix && !isExcluded;
}