format logs better