]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Lower log level of errors due to user requests to INFO
authorAkihiro Motoki <motoki@da.jp.nec.com>
Wed, 19 Feb 2014 19:21:55 +0000 (04:21 +0900)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:32 +0000 (15:20 +0800)
commit82d44d30d383582961acfa59074c41e9d7d452c6
tree612070f23a693dd95e2491bda45c8489ead297da
parent2b201c4500c5029305c7db4d6188f04b00a64974
Lower log level of errors due to user requests to INFO

Errors due to bad client requests (e.g., NotFound, BadRequest)
are logged as exception/trace level and it is annoying
from the point of operators' view.
This commit changes the log level for errors due to
user requests (HTTP 4xx errors) to INFO.

Closes-Bug: #1282394
Change-Id: Ic5646333db88ce856f9366e914cf961890d30501
neutron/api/v2/resource.py
neutron/tests/unit/test_api_v2_resource.py