mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 11:21:12 +00:00
2dd44664cf
* src/lxc/lxc.conf: new configuration file, there is currently one tunable "log_with_libvirtd" that controls whether an lxc controller will log only to the container log file, or whether it will honor libvirtd's log output configuration. This provides a way to have libvirtd and its children log to a single file. The default is to log to the container log file. * src/Makefile.am libvirt.spec.in: add the new file * src/lxc/lxc_conf.[ch] src/lxc/lxc_driver.c: read the new log value from the configuration file and pass the log informations when starting up a container.
14 lines
534 B
Plaintext
14 lines
534 B
Plaintext
# Master configuration file for the LXC driver.
|
|
# All settings described here are optional - if omitted, sensible
|
|
# defaults are used.
|
|
|
|
# By default, log messages generated by the lxc controller go to the
|
|
# container logfile. It is also possible to accumulate log messages
|
|
# from all lxc controllers along with libvirtd's log outputs. In this
|
|
# case, the lxc controller will honor either LIBVIRT_LOG_OUTPUTS or
|
|
# log_outputs from libvirtd.conf.
|
|
#
|
|
# This is disabled by default, uncomment below to enable it.
|
|
#
|
|
# log_with_libvirtd = 1
|