changed logging signature