Divide time diff properly in Logger plug

Spent few min trying to figure out why my API was reporting that it was slow =)