HPENetworking/topology

Sending "carriage return" breaks logging

Closed this issue · 1 comments

I have an old telnet shell that needs a \r at the end of the line for the command to actually execute.

This causes the connection logger to not log the command

>>> telnet_shell.send_command('/off {}\r'.format(port))
', matches=['bla> '], newline=True, timeout=None)

This can be solved by making the logger do repr(command) when logging, but not sure if it is the correct approach... What do you guys think?

No longer seen. Re-open if found again.