Log in the graph cleaning