EZP-20502: added logging to BinaryBase