Policy number should be described in server logs

Registered by Daisuke Morita

User request which is related to storage policy should be recorded in logs to make it easy for operators to specify problematic devices.

Current log format is as following link. http://docs.openstack.org/developer/swift/logs.html

My suggestion is to simply add 'policy_number' log field at the bottom of current log format. In the case of non policy-related requests like Account HEAD, this log field just outputs '-'.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Daisuke Morita
Direction:
Needs approval
Assignee:
Daisuke Morita
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Daisuke Morita
Completed by
Daisuke Morita

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/logging-policy-number,n,z

Addressed by: https://review.openstack.org/136995
    Output logs of policy index

Addressed by: https://review.openstack.org/155045
    Logging a policy index when container PUT request conflicts

Gerrit topic: https://review.openstack.org/#q,topic:bug/1421425,n,z

Addressed by: https://review.openstack.org/158087
    Merge master to feature/ec

Gerrit topic: https://review.openstack.org/#q,topic:master-merge,n,z

Addressed by: https://review.openstack.org/158370
    Merge master into feature/crypto

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.