rcbops / chef-cookbooks

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

[nova-network] dhcp_agent.ini template - enable verbose logging flag #706

Open odyssey4me opened 10 years ago

odyssey4me commented 10 years ago

Currently the debug logging flag is included, but not the verbose logging flag.

cloudnull commented 10 years ago

I am not able to determine that the verbose option in the dhcp_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/dhcp_agent.ini". Additionally, I found no wiki or example documentation for a verbose option in the "dhcp_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 dhcp_agent.ini enables the output of the LOG.info items in https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp_agent.py - as I recall, this is a standard across all of openstack's code.