updated logging formatting