no debug message in REST API layer
Bug #1516464 reported by
Eli Qiao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Eli Qiao |
Bug Description
Add debug message for every REST API call.
Changed in magnum: | |
assignee: | nobody → Eli Qiao (taget-9) |
status: | New → In Progress |
Changed in magnum: | |
milestone: | none → mitaka-1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/243910 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=dc1dec5bd06 e568bc1db28e545 910ba98f5ebf36
Committed: https:/
Submitter: Jenkins
Branch: master
commit dc1dec5bd06e568 bc1db28e545910b a98f5ebf36
Author: Eli Qiao <email address hidden>
Date: Sat Nov 14 23:02:10 2015 +0800
API: Add debug message for every API call
Added debug messages for each API call. It will helpful for debugging,
especially on gate.
This log message will be only print out when the request has body, and output
will be like follows:
Processing request: url: http:// 10.238. 157.49: 9511/v1/ bays, POST, body: 7b7d-4ddf- afe9-f4189a5e77 fe", "node_count": "1", create_ timeout" : null}
{"name": "k8s", "discovery_url": null, "master_count": 1, "baymodel_id":
"e5534156-
"bay_
P.S. I would like to add it in routers, we'd better to LOG which controller
is called, but since we are inherited from pecan, we don't want so much
hacking to base class.
Closes-Bug: #1516464 b2849813ce7aaeb 8904f7d50ca
Change-Id: I24543dfcb97a90