Nir Soffer has posted comments on this change.
Change subject: utils: Correct and faster list2cmdline ......................................................................
Patch Set 7:
(1 comment)
http://gerrit.ovirt.org/#/c/27548/7/lib/vdsm/utils.py File lib/vdsm/utils.py:
Line 731: Line 732: if not printable: Line 733: printable = command Line 734: Line 735: execCmdLogger.debug("%s (cwd %s)", _list2cmdline(printable), cwd)
Seems a bit too clever. Assumes a lot about the inner workings of the forma
Ok, I',ll handle this in a following patch - this is a general issue and we have more places where we like to log debug message only if logger is enabled for debug. Line 736: Line 737: p = CPopen(command, close_fds=True, cwd=cwd, env=env, Line 738: deathSignal=deathSignal, childUmask=childUmask) Line 739: if not sync: