Comment 0 for bug 1484480

Revision history for this message
Dmitry Tyzhnenko (dtyzhnenko) wrote : [fuel-devops] When instance of devops classes printed in debug log it use default __repr__ method

Example of current debug log:

2015-08-13 08:17:09,782 - DEBUG __init__.py:45 -- Calling: get_ntp with args: (<devops.helpers.helpers.SSHClient object at 0x7f4b59c62f10>, 'admin') {}

We can implement own __repl__ method for improve understanding our debug logs

Some proposal of new log view:

2015-08-13 08:17:09,782 - DEBUG __init__.py:45 -- Calling: get_ntp with args: (SSHClient <0x7f4b59c62f10, host: '10.109.0.2', user: 'root'>, 'admin') {}