[ovs-git] [openvswitch/ovs] 56c08a: windows: Remove vlog_init() from service_start fun...

GitHub noreply at github.com
Tue Jun 20 19:39:35 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 56c08ab4fae5a40e0b5f986b8bc1ff97b2dde3f3
      https://github.com/openvswitch/ovs/commit/56c08ab4fae5a40e0b5f986b8bc1ff97b2dde3f3
  Author: Anand Kumar <kumaranand at vmware.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M lib/daemon-windows.c

  Log Message:
  -----------
  windows: Remove vlog_init() from service_start function

When --syslog-method is passed as a cmd line argument and
ovs daemons are started as a service, --syslog-method argument is not
honoured, as vlog module is initialized by service_start function
before parsing the command line arguments.

Easy way to fix this, is to remove vlog_init() from the service start
function and let the first log message to initialize the vlog module.

Signed-off-by: Anand Kumar <kumaranand at vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>




More information about the git mailing list