printReply is tested.
printLogEntry is tested.