← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1693691] Re: neutron-server setup log twice

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/869871
Committed: https://opendev.org/openstack/neutron/commit/07fd743dc98d4d39e187119c17d0db70be3c852d
Submitter: "Zuul (22348)"
Branch:    master

commit 07fd743dc98d4d39e187119c17d0db70be3c852d
Author: Brian Haley <haleyb.dev@xxxxxxxxx>
Date:   Wed Jan 11 16:29:22 2023 -0500

    Remove extra call to config_logging() for neutron-server
    
    Logging is setup early in neutron/service.py already.
    
    Change-Id: Ib1b42235032a179a77932b6e3049f50c41073bfd
    Closes-bug: #1693691


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1693691

Title:
  neutron-server setup log twice

Status in neutron:
  Fix Released

Bug description:
  When neutron-server start, config.setup_logging() called twice.
  call stack is
  boot_server
    |->config.setup_logging()
    |->_main_neutron_server
         |->eventlet_wsgi_server
              |->serve_wsgi
                   |->NeutronApiService.create()
                        |->config.setup_logging()

  2017-05-26 15:12:34.908 30764 INFO neutron.common.config [-] Logging enabled!
  2017-05-26 15:12:34.908 30764 INFO neutron.common.config [-] /usr/bin/neutron-server version 10.0.1
  2017-05-26 15:12:34.909 30764 INFO neutron.common.config [-] Logging enabled!
  2017-05-26 15:12:34.909 30764 INFO neutron.common.config [-] /usr/bin/neutron-server version 10.0.1
  2017-05-26 15:12:34.926 30764 INFO neutron.manager [-] Loading core plugin: neutron.plugins.ml2.plugin.Ml2Plugin
  2017-05-26 15:12:35.534 30764 INFO neutron.plugins.ml2.managers [-] Configured type driver names: ['vxlan', 'flat']
  2017-05-26 15:12:35.549 30764 INFO neutron.plugins.ml2.drivers.type_flat [-] Arbitrary flat physical_network names allowed
  2017-05-26 15:12:35.566 30764 INFO neutron.plugins.ml2.managers [-] Loaded type driver names: ['flat', 'vxlan']
  2017-05-26 15:12:35.567 30764 INFO neutron.plugins.ml2.managers [-] Registered types: ['flat', 'vxlan']
  .....

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1693691/+subscriptions



References