Debugging code removed

Some print to log code removed