Fix up testing infrastructure for logging resource.