Transfer Horizon to oslo-log logging

Registered by Vadym Markov

Currently Horizon uses out-of-box Python logging module. It redirects output to Apache logs, which is not consistent with other Openstack components. It is reasonable to change Horizon logging facility to oslo_log which allows uniform logs management for the whole Openstack

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Vadym Markov
Direction:
Needs approval
Assignee:
Vadym Markov
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

[May 2, 2018 amotoki]
Before approving this blueprint, we have several things to clarify.
- how django logging format and oslo.log formatter (like logging_default_format_string and logging_context_format_string) can co-exist? Django logging settings (LOGGING in settings.py) allows operators to specify almost all logging configurations (as you may know). I first would like to understand the relationship of oslo.log context formatter and django configuration correctly. Can we use all django logging settings? Anyway, the configuration documentation must describe how the proposed patch works in detail.

----

Gerrit topic: https://review.openstack.org/#q,topic:bp/horizon-oslo-log,n,z

Addressed by: https://review.openstack.org/564027
    Horizon now uses oslo-log

Addressed by: https://review.openstack.org/565796
    Horizon dashboard now uses oslo-log

Addressed by: https://review.openstack.org/565797
    Horizon auth now uses oslo-log

Addressed by: https://review.openstack.org/565798
    Horizon now uses oslo-log

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.