Individual files not in access log for bulk upload
Bug #1486193 reported by
Samuel Merritt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If you upload 100 files via separate PUT requests, you get 100 lines in the proxy access logs. If you upload 100 files in a tarball and use bulk-upload to expand that to 100 separate objects in Swift, you get 1 line in the access log. I'd expect 101: one for the bulk-upload request, and 100 for the individual files.
To post a comment you must log in.
This wasn't fixed in https:/ /github. com/openstack/ swift/commit/ a622349 ? Huh. I guess not...
And we explicitly say that we *do* expect subrequests to be logged: https:/ /github. com/openstack/ swift/blob/ 2.15.1/ swift/common/ middleware/ bulk.py# L141-L146
Maybe just a matter of clearing/resetting environ[ 'swift. proxy_access_ log_made' ] around https:/ /github. com/openstack/ swift/blob/ 2.15.1/ swift/common/ middleware/ bulk.py# L529 ?