change logging to debug and remove thread locals as they appear to slow performance significantly