[openstack-dev] [oslo][oslo.log]

Joshua Harlow harlowja at fastmail.com
Tue Dec 15 18:49:00 UTC 2015


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: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list