[Kimchi-devel] [PATCH] run_command: log error messages using higher log level when return code is non-zero
Sheldon
shaohef at linux.vnet.ibm.com
Wed Feb 26 08:09:17 UTC 2014
Reviewed-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
On 02/26/2014 12:02 PM, zhshzhou at linux.vnet.ibm.com wrote:
> + if out:
> + kimchi_log.debug("out:\n%s", out)
> +
> + if proc.returncode != 0:
> + kimchi_log.error("rc: %s\nerror:\n%s", proc.returncode, error)
> + elif error:
> + kimchi_log.debug("error:\n%s", error)
--
Thanks and best regards!
Sheldon Feng(冯少合)<shaohef at linux.vnet.ibm.com>
IBM Linux Technology Center
More information about the Kimchi-devel
mailing list