[lxc-devel] [lxc/lxc] 4b7300: tree-wide: priority -> level

GitHub noreply at github.com
Fri Jun 16 04:50:38 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 4b73005c60449ae2c4327ffb5e7f39545cad425e
      https://github.com/lxc/lxc/commit/4b73005c60449ae2c4327ffb5e7f39545cad425e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-06-15 (Thu, 15 Jun 2017)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/confile.c
    M src/lxc/log.c
    M src/lxc/log.h
    M src/lxc/lxc_monitord.c
    M src/lxc/lxccontainer.h
    M src/lxc/seccomp.c
    M src/lxc/tools/lxc_attach.c
    M src/lxc/tools/lxc_autostart.c
    M src/lxc/tools/lxc_cgroup.c
    M src/lxc/tools/lxc_checkpoint.c
    M src/lxc/tools/lxc_console.c
    M src/lxc/tools/lxc_copy.c
    M src/lxc/tools/lxc_create.c
    M src/lxc/tools/lxc_destroy.c
    M src/lxc/tools/lxc_device.c
    M src/lxc/tools/lxc_execute.c
    M src/lxc/tools/lxc_freeze.c
    M src/lxc/tools/lxc_info.c
    M src/lxc/tools/lxc_init.c
    M src/lxc/tools/lxc_ls.c
    M src/lxc/tools/lxc_monitor.c
    M src/lxc/tools/lxc_snapshot.c
    M src/lxc/tools/lxc_start.c
    M src/lxc/tools/lxc_stop.c
    M src/lxc/tools/lxc_unfreeze.c
    M src/lxc/tools/lxc_wait.c

  Log Message:
  -----------
  tree-wide: priority -> level

When we merged the new logging function for the api we exposed the log level
argument in the struct as "priority" which we actually requested to be changed
to "level" which somehow didn't happen and we missed it. Given the fact there
has been no new liblxc release let's fix it right now before it hits users.
Also, take the chance to change the terminology in the log from "priority" to
"level" globally. This is to prevent confusion with syslog's "priority"
argument which we also support.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 192f5e7b251f63ae5514ca229dc6cb90d8fc54cd
      https://github.com/lxc/lxc/commit/192f5e7b251f63ae5514ca229dc6cb90d8fc54cd
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-06-15 (Thu, 15 Jun 2017)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/confile.c
    M src/lxc/log.c
    M src/lxc/log.h
    M src/lxc/lxc_monitord.c
    M src/lxc/lxccontainer.h
    M src/lxc/seccomp.c
    M src/lxc/tools/lxc_attach.c
    M src/lxc/tools/lxc_autostart.c
    M src/lxc/tools/lxc_cgroup.c
    M src/lxc/tools/lxc_checkpoint.c
    M src/lxc/tools/lxc_console.c
    M src/lxc/tools/lxc_copy.c
    M src/lxc/tools/lxc_create.c
    M src/lxc/tools/lxc_destroy.c
    M src/lxc/tools/lxc_device.c
    M src/lxc/tools/lxc_execute.c
    M src/lxc/tools/lxc_freeze.c
    M src/lxc/tools/lxc_info.c
    M src/lxc/tools/lxc_init.c
    M src/lxc/tools/lxc_ls.c
    M src/lxc/tools/lxc_monitor.c
    M src/lxc/tools/lxc_snapshot.c
    M src/lxc/tools/lxc_start.c
    M src/lxc/tools/lxc_stop.c
    M src/lxc/tools/lxc_unfreeze.c
    M src/lxc/tools/lxc_wait.c

  Log Message:
  -----------
  Merge pull request #1627 from brauner/2017-06-15/fix_new_logging_api

tree-wide: priority -> level


Compare: https://github.com/lxc/lxc/compare/74f041413119...192f5e7b251f


More information about the lxc-devel mailing list