Remove print
Fix log formatting