deb-python-os-brick/os_brick
Gorka Eguileor 32ab0d1670 iSCSI multipath: improve logging on connect
The new iSCSI multipath code uses multithreading to do the connections,
but since the context is a thread local variable it will not be present
in those threads so we will not see the request id or other information
from the context in those thread's log entries.

This is a small inconvenience when looking at the logs if we try to
filter by the request id,.

To resolve this we introduce a new Thread class that inherits the
context from the calling thread, this way any log entries will have the
right context and present expected information.

Change-Id: I27624a59738809d30531c0c4f37308f897dd9654
2017-06-26 20:31:59 +02:00
..
encryptors Merge "encryptors: Delay removal of legacy provider names" 2017-05-28 23:06:02 +00:00
initiator iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
local_dev Remove log translations 2017-03-22 09:19:01 +08:00
privileged Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
remotefs Stop ignoring H405 hacking rule in tox 2017-05-24 00:44:57 +02:00
tests iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
__init__.py Update os-brick requirements 2015-04-17 17:11:34 +00:00
exception.py Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
i18n.py Remove log translations 2017-03-22 09:19:01 +08:00
utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00