diff --git a/src/lxc/tools/lxc_autostart.c b/src/lxc/tools/lxc_autostart.c index 713e8efdf5..1ad186a131 100644 --- a/src/lxc/tools/lxc_autostart.c +++ b/src/lxc/tools/lxc_autostart.c @@ -85,6 +85,8 @@ Options:\n\ .parser = my_parser, .checker = NULL, .timeout = 60, + .log_priority = "ERROR", + .log_file = "none", }; static int list_contains_entry(char *str_ptr, struct lxc_list *p1) { diff --git a/src/lxc/tools/lxc_copy.c b/src/lxc/tools/lxc_copy.c index bc2e1db7de..3e6cfe6406 100644 --- a/src/lxc/tools/lxc_copy.c +++ b/src/lxc/tools/lxc_copy.c @@ -112,6 +112,8 @@ Options :\n\ .daemonize = 1, .quiet = false, .tmpfs = false, + .log_priority = "ERROR", + .log_file = "none", }; static struct mnts *add_mnt(struct mnts **mnts, unsigned int *num, diff --git a/src/lxc/tools/lxc_info.c b/src/lxc/tools/lxc_info.c index 8929720b14..681b597521 100644 --- a/src/lxc/tools/lxc_info.c +++ b/src/lxc/tools/lxc_info.c @@ -81,6 +81,8 @@ Options :\n\ .options = my_longopts, .parser = my_parser, .checker = NULL, + .log_priority = "ERROR", + .log_file = "none", }; static void str_chomp(char *buf) diff --git a/src/lxc/tools/lxc_ls.c b/src/lxc/tools/lxc_ls.c index 2be4e790a5..5f8cece69a 100644 --- a/src/lxc/tools/lxc_ls.c +++ b/src/lxc/tools/lxc_ls.c @@ -186,6 +186,8 @@ Options :\n\ .options = my_longopts, .parser = my_parser, .ls_nesting = 0, + .log_priority = "ERROR", + .log_file = "none", }; int __attribute__((weak, alias("lxc_ls_main"))) main(int argc, char *argv[]); diff --git a/src/lxc/tools/lxc_monitor.c b/src/lxc/tools/lxc_monitor.c index 4c6d063e30..7e96f880b7 100644 --- a/src/lxc/tools/lxc_monitor.c +++ b/src/lxc/tools/lxc_monitor.c @@ -69,6 +69,8 @@ Options :\n\ .parser = my_parser, .checker = NULL, .lxcpath_additional = -1, + .log_priority = "ERROR", + .log_file = "none", }; static void close_fds(struct pollfd *fds, nfds_t nfds) diff --git a/src/lxc/tools/lxc_snapshot.c b/src/lxc/tools/lxc_snapshot.c index 83effaf686..08761c5e68 100644 --- a/src/lxc/tools/lxc_snapshot.c +++ b/src/lxc/tools/lxc_snapshot.c @@ -51,6 +51,8 @@ Options :\n\ .parser = my_parser, .checker = NULL, .task = SNAP, + .log_priority = "ERROR", + .log_file = "none", }; static int do_snapshot(struct lxc_container *c, char *commentfile); diff --git a/src/lxc/tools/lxc_top.c b/src/lxc/tools/lxc_top.c index 3ddaf89e7a..aa6e7209e3 100644 --- a/src/lxc/tools/lxc_top.c +++ b/src/lxc/tools/lxc_top.c @@ -116,6 +116,8 @@ Options :\n\ .parser = my_parser, .checker = NULL, .lxcpath_additional = -1, + .log_priority = "ERROR", + .log_file = "none", }; static void stdin_tios_restore(void)