[lxc-devel] [patch 0/3] improve log facility
Cedric Le Goater
legoater at free.fr
Wed Apr 22 08:54:53 UTC 2009
> it applies the log4j principles to C. log4c is very different in its design
> because it uses dynamic allocation. this is complete rewritten version using
> statics which would even fit embedded code.
that said, the work is not completely finish.
it does no less that was doing the previous printf() based logging system but
lxc still needs to think about the following :
* define proper categories for each file
* add prefixes for each process
* rework the current appender to have an output making everybody
happy.
* add command line options and/or configuration variables to
define the log file and the log priority for each container or
command
* eventually add an extra stderr appender to output ERRORs only
* use a syslog appender ?
Cheers,
C.
More information about the lxc-devel
mailing list