converted log.v to log.d