Re: [openstack-dev] [oslo] About app-agnostic-logging-parameters

2015-06-26 Thread Fujita, Daisuke
Hi, Doug Hellmann, Thank you for your reply. > -Original Message- > From: Doug Hellmann [mailto:d...@doughellmann.com] > Sent: Friday, June 26, 2015 1:04 AM > To: openstack-dev > Subject: Re: [openstack-dev] [oslo] About app-agnostic-logging-parameters > >

Re: [openstack-dev] [oslo] About app-agnostic-logging-parameters

2015-06-26 Thread Fujita, Daisuke
Hi, Lingxian Kong, Thank you for your reply. > -Original Message- > From: Lingxian Kong [mailto:anlin.k...@gmail.com] > Sent: Thursday, June 25, 2015 7:59 PM > To: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] [oslo] Abo

Re: [openstack-dev] [oslo] About app-agnostic-logging-parameters

2015-06-26 Thread Doug Hellmann
Excerpts from Lingxian Kong's message of 2015-06-26 12:14:57 +0800: > On Fri, Jun 26, 2015 at 12:03 AM, Doug Hellmann wrote: > > > > > The goal is to set up the default log format string to be the same in > > all projects, and have the context class provide application-specific > > values. So nov

Re: [openstack-dev] [oslo] About app-agnostic-logging-parameters

2015-06-25 Thread Lingxian Kong
On Fri, Jun 26, 2015 at 12:03 AM, Doug Hellmann wrote: > > The goal is to set up the default log format string to be the same in > all projects, and have the context class provide application-specific > values. So nova might set an instance as the resource but neutron might > set a network or por

Re: [openstack-dev] [oslo] About app-agnostic-logging-parameters

2015-06-25 Thread Doug Hellmann
Excerpts from Fujita, Daisuke's message of 2015-06-25 10:42:05 +: > Hi, Doug Hellmann, and oslo.log team members, > > I'm Daisuke Fujita of Fujitsu. > > May I ask you about this Blueprint? > > https://blueprints.launchpad.net/oslo.log/+spec/app-agnostic-logging-parameters > > This patch has

Re: [openstack-dev] [oslo] About app-agnostic-logging-parameters

2015-06-25 Thread Lingxian Kong
Hi, Daisuke, * 'resource' is not necessary in logging_context_format_string. * IMO, I think 'resource' could satisfy your requrement, like this: LOG.info(_LI('begin some operation'), resource= {'type': 'volume', 'id': '40e0f194-0ccb-422f-a543-c5f9022acb6f'}) On Thu, Jun 25, 2015

[openstack-dev] [oslo] About app-agnostic-logging-parameters

2015-06-25 Thread Fujita, Daisuke
Hi, Doug Hellmann, and oslo.log team members, I'm Daisuke Fujita of Fujitsu. May I ask you about this Blueprint? https://blueprints.launchpad.net/oslo.log/+spec/app-agnostic-logging-parameters This patch has been already implemented in master branch of oslo_log. But, blueprint status is " Start