remove obsolete TODO comment
fix typo in condition under logging.TRACE