[lxc-devel] [lxc/lxc] 6ea518: log: Set log_define properly

GitHub noreply at github.com
Wed Feb 5 23:16:40 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6ea518f64a0bd5b73a2e43ac1d36b0874a32f5df
      https://github.com/lxc/lxc/commit/6ea518f64a0bd5b73a2e43ac1d36b0874a32f5df
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-05 (Wed, 05 Feb 2014)

  Changed paths:
    M src/lxc/lxc_autostart.c
    M src/lxc/lxc_cgroup.c
    M src/lxc/lxc_clone.c
    M src/lxc/lxc_console.c
    M src/lxc/lxc_create.c
    M src/lxc/lxc_destroy.c
    M src/lxc/lxc_execute.c
    M src/lxc/lxc_freeze.c
    M src/lxc/lxc_info.c
    M src/lxc/lxc_monitor.c
    M src/lxc/lxc_snapshot.c
    M src/lxc/lxc_start.c
    M src/lxc/lxc_stop.c
    M src/lxc/lxc_unfreeze.c
    M src/lxc/lxc_wait.c

  Log Message:
  -----------
  log: Set log_define properly

This sets lxc_log_define to what should be appropriate values for all
existing binaries that call lxc_log_init.

The name is lxc_<bin name>_ui for anything that's user visible and
lxc_<bin name> for anything that's not.

The parent is set to "lxc" for anything using the API and to the
matching C file name for anything that isn't.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list