[Kimchi-devel] [PATCH V5] [Wok] Make run_command log its output into a file.

Daniel Henrique Barboza dhbarboza82 at gmail.com
Mon Dec 28 13:07:31 UTC 2015


Reviewed-by: Daniel Barboza <dhbarboza82 at gmail.com>

On 12/28/2015 10:54 AM, pvital at linux.vnet.ibm.com wrote:
> From: Paulo Vital <pvital at linux.vnet.ibm.com>
>
> V4 -> V5:
>      - Added try/exception to control file IO.
>
> V3 -> V4:
>      - PEP8 fixes.
>
> V2 -> V3:
>      - Changed the place of the log_file creation control.
>
> V1 -> V2:
>      - Removed fixed log file, changing parameter of run_command() method to
> accept the path of the log file instead of a boolean.
>
> V1:
>
> Adds the ability of run_command to log the output of a console command into the
> file /tmp/wok_tee_log_file, like the "tee" command does.
>
> Using this patch, a command that takes too many time to execute can be monitored
> by reading the log file while other tasks are executed.
>
> Paulo Vital (1):
>    Make run_command log its output into a file.
>
>   src/wok/utils.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++--
>   1 file changed, 48 insertions(+), 2 deletions(-)
>
> --
> 2.5.0
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel




More information about the Kimchi-devel mailing list