Add dynamic logging support
This blueprint is to allow OpenStack admin dynamically configure logging level in nova services on-the-fly.
It extends nova-manage, allow OpenStack admin issue a request over AMQP toward all nova serices that are currently running, changing its logging level without rebooting those services.
The feature could be implemented as part of BaseRPCAPI which is already available in nova. Optionally, it can be separated in a new API, like ConfigRPCAPI in the future. Since OpenStack components are sharing similar architecture, this blueprint is also applicable to cinder, neutron, and other components.
Work items
– Update GetLogCommands class in file nova/cmd/manage.py to add a new command named level, which update the logging level of a service. Optionally, rename GetLogCommands into LogCommands
– Update nova/baserpc.py to add a client side and server side function, which reset the logging to expected level as issued from nova-manage command line interface.
Whiteboard
I have a "Work In Progress" for this blueprint: https:/
Gerrit topic: https:/
Addressed by: https:/
Add dynamic logging support
Addressed by: https:/
Propose dynamic logging for nova