Add logging to Lift's internal code