From: Pankaj on
how to enable expect log in pexpect ? (similar as exp_internal in
expect)