format modified for logging the information