Provide application-agnostic logging parameters in format strings

Registered by Doug Hellmann

The default logging_context_format_string and logging_default_format_string include "instance" which is not useful in all projects. We should do something like what we did with "user_identity" and provide a generic name, which the projects can fill in with their desired value.

Discussed at the Juno summit: https://etherpad.openstack.org/p/juno-oslo-release-plan

Blueprint information

Status:
Complete
Approver:
Doug Hellmann
Priority:
Low
Drafter:
Doug Hellmann
Direction:
Needs approval
Assignee:
Doug Hellmann
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 1.1.0
Started by
Doug Hellmann
Completed by
Takashi Kajinami

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/app-agnostic-logging-parameters,n,z

Addressed by: https://review.openstack.org/95281
    Add spec for app-agnostic-logging-parameters

Updating milestone and approval settings prior to kilo. - dhellmann

Addressed by: https://review.openstack.org/144813
    Implement resource to logging extra keywords

Addressed by: https://review.openstack.org/145307
    Update comment to match implementation

See also https://bugs.launchpad.net/oslo.log/+bug/1075095

Implementation notes are in https://etherpad.openstack.org/p/liberty-app-agnostic-logging-parameters

Addressed by: https://review.openstack.org/274188
    Use new logging specific method for context info

(?)

Work Items

Work items:
Started Work: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.