Replace all print statements with appropriate log statements
Replace all print statements with appropriate log statements