]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc: introduce log4c style logging
authorCedric Le Goater <legoater@free.fr>
Tue, 21 Apr 2009 19:51:13 +0000 (21:51 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 21 Apr 2009 19:51:13 +0000 (21:51 +0200)
commitcb8c5720bdd14249e66060cda0e0f5d2f95c0ecd
tree84773b89096636482492d8769c562a8f5df38bf7
parenta57cf79e58fa5c28f3d9ea566c4d833db9b91e8b
lxc: introduce log4c style logging

lxc_log_init() should be called in each main() of a command
to define the default log priority and log file.

Signed-off-by: Cedric Le Goater <legoater@free.fr>
Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/log.c
src/lxc/log.h