[CRIU] [PATCH 0/3] p.haul: rework logging

Nikita Spiridonov nspiridonov at odin.com
Wed Sep 30 09:48:19 PDT 2015


Replace manual prints with logging library usage, add --log-file option
for both p.haul and p.haul-service needed to specify log name.

Nikita Spiridonov (3):
  p.haul: minor style fixes
  p.haul: add --log-file option
  p.haul: rework logging

 p.haul                   |   45 ++++++++++++++++++++++++++--------------
 p.haul-service           |   51 ++++++++++++++++++++++++++++------------------
 phaul/criu_api.py        |    5 ++-
 phaul/fs_haul_shared.py  |    5 ++-
 phaul/fs_haul_subtree.py |    8 +++---
 phaul/images.py          |   19 +++++++++--------
 phaul/mstats.py          |   15 +++++++------
 phaul/p_haul_cgroup.py   |    7 +++--
 phaul/p_haul_iters.py    |   47 +++++++++++++++++++++--------------------
 phaul/p_haul_lxc.py      |    9 ++++---
 phaul/p_haul_module.py   |    5 ++-
 phaul/p_haul_pid.py      |    3 +-
 phaul/p_haul_service.py  |   25 +++++++++++----------
 phaul/p_haul_type.py     |    3 +-
 phaul/p_haul_vz.py       |   21 ++++++++++--------
 phaul/util.py            |    7 +++--
 phaul/xem_rpc.py         |    5 ++-
 17 files changed, 160 insertions(+), 120 deletions(-)



More information about the CRIU mailing list