I patched a Python Paramiko method to log all data immediately when it came over the wire for an automation library that ran a lot of our automated testing. It's hard to overstate how helpful this was when data seem to be missing. Once we overflowed an internal Paramiko buffer because it wasn't documented and we overlooked this possibility. The logging was important to pinning down the problem. The monkey patching was complex and ugly but ultimately worth it.
No comments yet.