updated logging impl