Skip to content

[all]: openstack API debugger shows client.go:128 for all calls #2300

Description

@kayrus

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:

I noticed that all API debug logs have client.go:128 prefix from the #2295 (comment) logs

What you expected to happen:

Logs should show the actual place of the call, e.g. in 1.25 it is:

I0713 11:50:50.686815       1 openstack_volumes.go:82]   "volumes_links": [
I0713 11:50:50.686831       1 openstack_volumes.go:82]     {
I0713 11:50:50.686845       1 openstack_volumes.go:82]       "href": "https://cinder-v3/v3/4d0477a019414ee08ad0fd11b777eee2/volumes/detail?limit=2\u0026marker=faf60902-227c-4812-ac35-fb5f1aea7e7f",
I0713 11:50:50.686863       1 openstack_volumes.go:82]       "rel": "next"
I0713 11:50:50.686877       1 openstack_volumes.go:82]     }
I0713 11:50:50.686892       1 openstack_volumes.go:82]   ]
I0713 11:50:50.686909       1 openstack_volumes.go:82] }

How to reproduce it:

n/a

Anything else we need to know?:

#867

Environment:

  • openstack-cloud-controller-manager(or other related binary) version:
  • OpenStack version:
  • Others:

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions