[lxc-devel] [lxc/lxc] 64c57e: Add a new logger: syslog and Print the VM name in ...

GitHub noreply at github.com
Fri Jul 29 23:23:43 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 64c57ea1579b1832f65ffa41923ae146bb97a213
      https://github.com/lxc/lxc/commit/64c57ea1579b1832f65ffa41923ae146bb97a213
  Author: Baptiste Daroussin <bapt at gandi.net>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/log.c
    M src/lxc/log.h
    M src/lxc/start.c

  Log Message:
  -----------
  Add a new logger: syslog and Print the VM name in the logs

To activate it specify lxc.syslog = <afacility>
For now the available facilities are: daemon, local[0-7] others will be
rejected

syslog got only activated after the function that checks for inheritance
of fd is passed in order to make sure the syslog fd is not inherited
and prevent the creation of the fd is any log have been issued during
the checks (which would end up in an infinite loop)

Signed-off-by: Fatih ACAR <fatih.acar at gandi.net>
Signed-off-by: Ahmed Amamou <ahmed at gandi.net>
Signed-off-by: Baptiste Daroussin <bapt at gandi.net>
Signed-off-by: William Dauchy <william at gandi.net>


  Commit: 204dfdf28b8461f7dc032cffe8529c49fbcc6fcf
      https://github.com/lxc/lxc/commit/204dfdf28b8461f7dc032cffe8529c49fbcc6fcf
  Author: Baptiste Daroussin <bapt at gandi.net>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M doc/lxc.container.conf.sgml.in

  Log Message:
  -----------
  Add documentation for the new syslog logging mechanism

Signed-off-by: Baptiste Daroussin <bapt at gandi.net>


  Commit: b336ea596ba6e1136409b54360ab5401cd77cef5
      https://github.com/lxc/lxc/commit/b336ea596ba6e1136409b54360ab5401cd77cef5
  Author: Christian Brauner <cbrauner at suse.de>
  Date:   2016-07-30 (Sat, 30 Jul 2016)

  Changed paths:
    M doc/lxc.container.conf.sgml.in
    M src/lxc/confile.c
    M src/lxc/log.c
    M src/lxc/log.h
    M src/lxc/start.c

  Log Message:
  -----------
  Merge pull request #1105 from bapt/syslog

Add syslog support


Compare: https://github.com/lxc/lxc/compare/4b6d675bf7ce...b336ea596ba6


More information about the lxc-devel mailing list