[CRIU] [PATCH 0/2] add log_init_at and use it instead of log_init when processing cmd-line options

Ruslan Kuprieiev kupruser at gmail.com
Mon Nov 18 17:15:52 PST 2013


After set of patches which add --work-dir option we have an issue: logs are created relatively
to current dir and not relatively to images dir(which is work dir, when --work-dir is not given).
To solve this lets use log_init_at and pass work dir to it.

Ruslan Kuprieiev (2):
  log: add log_init_at and define log_init as a macro
  crtools: use log_init_at instead of log_init

 crtools.c     |  2 +-
 include/log.h |  3 ++-
 log.c         | 13 ++++++++++---
 3 files changed, 13 insertions(+), 5 deletions(-)

-- 
1.8.1.2



More information about the CRIU mailing list