13147: Append X-Request-Id on error & debug log messages.
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 6 Mar 2018 20:29:14 +0000 (17:29 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 6 Mar 2018 20:29:14 +0000 (17:29 -0300)
commit96f657210ce401a84eafc4a575f56694f2b39a0b
tree7ace2616da13fa693b301e067eee6f3bd41838e5
parent8682bb87e37e3ef9831dc83167a6620594fc8b52
13147: Append X-Request-Id on error & debug log messages.

Set up a custom formatter that replaces the standard arvados one
when running arv-put, so that it appends the Req-Id on errors.
Replacing 'arvados' log formatter makes all loggers below it (arv_put and
api in this case) use the same format.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>
sdk/python/arvados/__init__.py
sdk/python/arvados/commands/put.py
sdk/python/tests/test_arv_put.py