IMHO, go for it, the yaml should probably be of the format that the
following uses so that it's easily known what the format actually is:
https://docs.python.org/2/library/logging.config.html#logging.config.dictConfig
So convert yaml -> that dict format -> profit!
-Josh
Vladislav Kuzmin wrote:
Hi,
I want to specify all my option in yaml file, because it is much more
readable. But I must use ini file, because oslo.log using
logging.config.fileConfig for reading the config file
(https://github.com/openstack/oslo.log/blob/master/oslo_log/log.py#L216)
Why we cannot use yaml file? Can I propose solution for that?
Thanks.
|||||
|
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev