krimdomu/net-ssh2-expect — Issue #1: logging not as expected
Author: tla2k12
Created: 2012-02-24 12:53:52+00:00
State: open

Hi Jan.

I am using the tip of the master branch (ge62a4f0) on an Ubuntu 8.04.4 (Hardy) server. The server is in an environment I can't upgrade.

I am using Net::SSH2::Expect to connect to an arbitary number of cisco devices and run an arbitary set of commands. I want the output from each command to go into a separate log file.

My problem is that while output is being sent to the separate log files some of the logging is missing and some is in the wrong file! Some of the commands sent also seem garbled.

I am using "$exp -> log_file($filename)" to switch the log file.

I have a test case and example logfile content I can send you (I don't see how to upload it here).

Regards,

Dave.