Designate DNS – changing debug level to WARNING for over sized POST request.

Bug #2044082 reported by Arkady Shtempler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
New
Undecided
Unassigned

Bug Description

As of now, POST requests that exceed the max_request_body_size (114688) are logged as INFO, for example:
/var/log/containers/designate/designate-api.log
2:2023-11-20 10:04:58.563 8 INFO oslo_middleware.sizelimit [req-bd57ea99-ae67-4855-a774-76c54ae1c38a a92bc3f61d1c4ffb9ca37c6a6586f7bd c8d7e129e06f4a95a85fd1fb28524b89 - - -] Request is too large. Larger than max_request_body_size (114688).

It makes sense changing the debug level for such cases to WARNING.
For example it could be potential hacking attack, therefore WARNING is in place for security reasons.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.