mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-03 13:43:07 +00:00
Merge pull request #2395 from brauner/2018-06-11/restore_old_create_behavior
tools: restore lxc-create log behavior
This commit is contained in:
commit
c6d0d3cb30
@ -230,7 +230,10 @@ int main(int argc, char *argv[])
|
||||
/* Only create log if explicitly instructed */
|
||||
if (my_args.log_file || my_args.log_priority) {
|
||||
log.name = my_args.name;
|
||||
log.file = my_args.log_file;
|
||||
if (!my_args.log_file)
|
||||
log.file = "none";
|
||||
else
|
||||
log.file = my_args.log_file;
|
||||
log.level = my_args.log_priority;
|
||||
log.prefix = my_args.progname;
|
||||
log.quiet = my_args.quiet;
|
||||
|
Loading…
Reference in New Issue
Block a user