Oh right, I see. Yeah, I would guess that the log device needs to match the rest of the storage, while the cache can be mismatched.
You could try this command to see the ashift sizes: zpool get ashift zroot all-vdevs
Be aware there’s a display bug that makes the output a little confusing, discussed here: