changed logging call