def log_debug(dflag, msg, idof=None, d=None):
#print('---------------->',repr((dflag, msg, idof, d)), file=sys.stderr)
if idof is not None:
def log_debug(dflag, msg, idof=None, d=None):
#print('---------------->',repr((dflag, msg, idof, d)), file=sys.stderr)
if idof is not None: