Remove no need pdb.set_trace() and log