[openstack-dev] [cinder] How to add progress id info into cinder-volume log

Lingxian Kong anlin.kong at gmail.com
Fri Apr 10 06:05:52 UTC 2015


    cfg.StrOpt('logging_default_format_string',
               default='%(asctime)s.%(msecs)03d %(process)d %(levelname)s '
                       '%(name)s [-] %(instance)s%(message)s',
               help='Format string to use for log messages without context.')

make sense?

On Fri, Apr 10, 2015 at 9:50 AM, liuxinguo <liuxinguo at huawei.com> wrote:
> Hi,
>
>
>
> If we use devstack to start c-vol progress as the following and use
> multi-backend:
>
> cinder-volume --config-file=/etc/cinder/cinder.conf
>
>
>
> There will be several cinder-volume progress loged into just one
> cinder-volume.log,
>
> ·         and it is difficult to distinguish which log message is belonged
> to which cinder-volume progress.
>
>
>
> So can I add progress id info into cinder-volume log?
>
>
>
> Liu
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



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



More information about the OpenStack-dev mailing list