]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Capture warnings into logs
authorEric Harney <eharney@redhat.com>
Thu, 25 Feb 2016 17:13:11 +0000 (12:13 -0500)
committerEric Harney <eharney@redhat.com>
Mon, 29 Feb 2016 20:56:10 +0000 (20:56 +0000)
commit7e81d19aa3848d7422e613331391fe2adfe95ddf
tree74df08f4a10b01dc1202abfcea47399e7b260566
parentfaba1e5f202008f27c021ba861a40bb7b5ea6f07
Capture warnings into logs

Modules that issue warnings via the python
warnings module result in messages printed
to stderr.

This change results in them being captured
into Cinder logs instead.  This means that
logs from production environments contain
all of the relevant info for debugging
issues.

Change-Id: I16a31e1ef0df824dd513f43fd22d631fa647e004
cinder/cmd/api.py
cinder/cmd/backup.py
cinder/cmd/manage.py
cinder/cmd/scheduler.py
cinder/cmd/volume.py