Logging removing tables