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 at 6:42 PM, Fujita, Daisuke
<fuzita.dais...@jp.fujitsu.com> wrote:
> 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 " Started".
>
> Is this feature already available?
>
> And, in my understanding it is necessary to add "%resource" to 
> logging_context_format_string(etc) of the config-file when I use this feature.
> Is that correct?
>
> Because I would like to suggest a draft amendment to output a UUID when 
> resource is created, I want to confirm about that BP.
>
> Best Regards,
> Daisuke Fujita
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-- 
Regards!
-----------------------------------
Lingxian Kong

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to