]> git.proxmox.com Git - ovs.git/commitdiff
ovn-northd: Don't set custom log level defaults.
authorRussell Bryant <russell@ovn.org>
Mon, 1 Feb 2016 14:58:22 +0000 (09:58 -0500)
committerRussell Bryant <russell@ovn.org>
Mon, 1 Feb 2016 18:41:49 +0000 (13:41 -0500)
ovn-northd set some custom log level defaults, which I believe were
copied from ovs-vsctl.  Other daemons don't set this.  The difference in
behavior in ovn-northd vs other daemons has caused some confusion during
OpenStack+OVN development and testing, so make it consistent.

Reported-by: Ryan Moats <rmoats@us.ibm.com>
Reported-at: https://bugs.launchpad.net/bugs/1539994
Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-By: Kyle Mestery <mestery@mestery.com>
Acked-by: Ben Pfaff <blp@ovn.org>
ovn/northd/ovn-northd.c

index 4f032875802e99db689dd9c09139696050a4c9dd..8083e2583188e1d4bf62405020c6d5cc211b6930 100644 (file)
@@ -1877,7 +1877,6 @@ add_column_noalert(struct ovsdb_idl *idl,
 int
 main(int argc, char *argv[])
 {
-    extern struct vlog_module VLM_reconnect;
     unsigned int ovnnb_seqno, ovnsb_seqno;
     int res = EXIT_SUCCESS;
     struct unixctl_server *unixctl;
@@ -1887,8 +1886,6 @@ main(int argc, char *argv[])
     fatal_ignore_sigpipe();
     set_program_name(argv[0]);
     service_start(&argc, &argv);
-    vlog_set_levels(NULL, VLF_CONSOLE, VLL_WARN);
-    vlog_set_levels(&VLM_reconnect, VLF_ANY_DESTINATION, VLL_WARN);
     parse_options(argc, argv);
 
     daemonize_start(false);