changed log statements