Merge "sde: Add support for conditional logging."