Fixed logging call