rcbops / chef-cookbooks

RCB OPS - Chef Cookbooks
Other
118 stars 102 forks source link

[nova-network] l3_agent.ini template - enable debug and verbose logging flags #707

Open odyssey4me opened 10 years ago

odyssey4me commented 10 years ago

Neither the debug or verbose logging flags are included in the template. Add these and key them off node["neutron"]["debug"] and node["neutron"]["verbose"] as with the other Neutron conf/ini files.

cloudnull commented 10 years ago

Sorry for the copy paste response from issue https://github.com/rcbops/chef-cookbooks/issues/706

I am not able to determine that the verbose option in the l3_agent.ini is a valid option. In the upstream configuration file examples verbose is not listed in either master or havana/stable, "https://github.com/openstack/neutron/blob/master/etc/l3_agent.ini". Additionally, I found no wiki or example documentation for a verbose option in the "l3_agent.ini". Is this an option that you are setting in addition to or instead of using the provided debug option and if so are you seeing different logging output because of it?

odyssey4me commented 10 years ago

While the documentation does not include the flag, it definitely does work. Enabling verbose = True in l3_agent.ini enables the output of the LOG.info items in https://github.com/openstack/neutron/blob/master/neutron/agent/l3_agent.py and enabling debug = True enables the output of the LOG.debug items.