]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/lxc_monitor.c
use different log categories in commands
authorCedric Le Goater <clg@fr.ibm.com>
Wed, 13 Jan 2010 17:51:15 +0000 (18:51 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 13 Jan 2010 17:51:15 +0000 (18:51 +0100)
commit7707565969b7273bcebb1be692cbb37471236683
treeaeaac3834fcd6d50e82e25aa63e32694bda075a5
parent7a7ff0c6fb427beb77046c60eb302bbdab0d5603
use different log categories in commands

lxc_<cmd>.c and <cmd>.c files use the same log category : lxc_<cmd>.
The symbol is multiply defined and linking statically lxc commands is
not possible.

The patch introduces new log categories with a '_ui' suffix to
differentiate the command line interface from the library routine.

Reported-by: Ciprian Dorin, Craciun <ciprian.craciun@gmail.com>
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc_cgroup.c
src/lxc/lxc_checkpoint.c
src/lxc/lxc_console.c
src/lxc/lxc_execute.c
src/lxc/lxc_monitor.c
src/lxc/lxc_restart.c
src/lxc/lxc_start.c
src/lxc/lxc_unshare.c
src/lxc/lxc_wait.c