[CRIU] [PATCH 4/5] log: default logfile names

Andrew Vagin avagin at parallels.com
Mon Sep 30 07:10:42 PDT 2013


On Mon, Sep 30, 2013 at 03:06:37PM +0400, Ruslan Kuprieiev wrote:
> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>

> ---
> diff --git a/include/log.h b/include/log.h
> index 17f624b..a74bd93 100644
> --- a/include/log.h
> +++ b/include/log.h
> @@ -3,6 +3,9 @@
>  
>  #include "log-levels.h"
>  
> +#define DEFAULT_DUMP_LOG_FILENAME	"dump.log"
> +#define DEFAULT_RESTORE_LOG_FILENAME	"restore.log"

This patch must be before the previous one, because
DEFAULT_RESTORE_LOG_FILENAME is used there.

Each patch must not be destructive.

> +
>  extern int log_init(const char *output);
>  extern void log_fini(void);
>  extern int log_init_by_pid(void);
> 

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list