more Sense testing and debugging code for log