Re: [openstack-dev] [log] LOG.exception should contain an exception message or not?

2016-01-05 Thread Doug Hellmann
Excerpts from Sean Dague's message of 2016-01-05 08:31:34 -0500: > On 01/05/2016 08:08 AM, Akihiro Motoki wrote: > > Hi, > > > > # cross-posting to -dev and -operators ML > > > > In the current most OpenStack implementation, > > when we use LOG.exception, we don't pass an exception message to >

Re: [openstack-dev] [log] LOG.exception should contain an exception message or not?

2016-01-05 Thread Sean Dague
On 01/05/2016 08:08 AM, Akihiro Motoki wrote: > Hi, > > # cross-posting to -dev and -operators ML > > In the current most OpenStack implementation, > when we use LOG.exception, we don't pass an exception message to > LOG.exception: > > LOG.exception(_LE("Error while processing VIF ports")) >

Re: [openstack-dev] [log] LOG.exception should contain an exception message or not?

2016-01-05 Thread Sean McGinnis
On Tue, Jan 05, 2016 at 10:08:42PM +0900, Akihiro Motoki wrote: > Hi, > > # cross-posting to -dev and -operators ML > > In the current most OpenStack implementation, > when we use LOG.exception, we don't pass an exception message to > LOG.exception: > > LOG.exception(_LE("Error while

[openstack-dev] [log] LOG.exception should contain an exception message or not?

2016-01-05 Thread Akihiro Motoki
Hi, # cross-posting to -dev and -operators ML In the current most OpenStack implementation, when we use LOG.exception, we don't pass an exception message to LOG.exception: LOG.exception(_LE("Error while processing VIF ports")) IIUC it is because the exception message will be logged at the