[openstack-dev] Proposed Logging Standards
Macdonald-Wallace, Matthew
matthew.macdonald-wallace at hp.com
Fri Jan 31 16:36:38 UTC 2014
> -----Original Message-----
> From: Ben Nemec [mailto:openstack at nemebean.com]
> Sent: 31 January 2014 16:01
> To: openstack-dev at lists.openstack.org
> Subject: Re: [openstack-dev] Proposed Logging Standards
> > I'd just love to see the ability in the python logger to include the
> > application name, not just the class/module that created the log
> > message (it's in 3.<something> but I don't think we can justify a
> > switch to Python 3 just based on logging!):
> >
> > <datetime> <LEVEL> <PID> <PROGRAM-NAME (i.e. nova-compute)> <module>
> > <stuff> <more_stuff> <even_more_stuff>
> >
> > At the moment, all of the above is possible except for the
> > <PROGRAM_NAME> part. Is there anything we can do to add this to the
> > context or similar?
> >
> > Matt
>
> Wish granted. :-)
YAY! \o/
> https://github.com/openstack/oslo-
> incubator/commit/8c3046b78dca8eae1d911e3421b5938c19f20c37
>
> The plan is to turn that on by default as soon as we can get through the
> deprecation process for the existing format.
Awesome, good to hear.
Thanks,
Matt
More information about the OpenStack-dev
mailing list