Re: [openstack-dev] Log / error message format best practices & standards

2014-07-10 Thread Alexis Lee
Jay S. Bryant said on Wed, Jul 09, 2014 at 10:28:00PM -0500: > > single quote: LOG.info("The ID '%s' is not invalid." % (resource.id)) > +1 This isn't one I have been policing a lot in my reviews, but think > this is a good practice. +1 from me. > > LOG.info("This path is invalid: %s" % (obj.pat

Re: [openstack-dev] Log / error message format best practices & standards

2014-07-09 Thread Jay S. Bryant
Boden, Thanks for bringing this up: On Thu, 2014-06-26 at 12:14 -0400, boden wrote: > We were recently having a discussion over here in trove regarding a > standardized format to use for log and error messages - obviously > consistency is ideal (within and across projects). As this discussion

Re: [openstack-dev] Log / error message format best practices & standards

2014-06-28 Thread Sean Dague
On 06/28/2014 09:41 AM, Matt Riedemann wrote: > > > On 6/26/2014 1:54 PM, Jay Pipes wrote: >> On 06/26/2014 12:14 PM, boden wrote: >>> We were recently having a discussion over here in trove regarding a >>> standardized format to use for log and error messages - obviously >>> consistency is ideal

Re: [openstack-dev] Log / error message format best practices & standards

2014-06-28 Thread Matt Riedemann
On 6/26/2014 1:54 PM, Jay Pipes wrote: On 06/26/2014 12:14 PM, boden wrote: We were recently having a discussion over here in trove regarding a standardized format to use for log and error messages - obviously consistency is ideal (within and across projects). As this discussion involves the b

Re: [openstack-dev] Log / error message format best practices & standards

2014-06-26 Thread Ahmed RAHAL
Hi, Le 2014-06-26 12:14, boden a écrit : We were recently having a discussion over here in trove regarding a standardized format to use for log and error messages - obviously consistency is ideal (within and across projects). As this discussion involves the broader dev community, bringing this t

Re: [openstack-dev] Log / error message format best practices & standards

2014-06-26 Thread Jay Pipes
On 06/26/2014 12:14 PM, boden wrote: We were recently having a discussion over here in trove regarding a standardized format to use for log and error messages - obviously consistency is ideal (within and across projects). As this discussion involves the broader dev community, bringing this topic

[openstack-dev] Log / error message format best practices & standards

2014-06-26 Thread boden
We were recently having a discussion over here in trove regarding a standardized format to use for log and error messages - obviously consistency is ideal (within and across projects). As this discussion involves the broader dev community, bringing this topic to the list for feedback... I'm