sphinx-contrib / confluencebuilder

Confluence Markup Builder Plugin for Sphinx
BSD 2-Clause "Simplified" License
317 stars 99 forks source link

rest: log method name in header logs #987

Closed jdknight closed 4 months ago

jdknight commented 4 months ago

When the extension is configured for logging REST headers, it may not be trivial to find where certain GET/POST/etc. calls originate from. To make things easier, inspect the frame stack to determine who originated these REST calls. For the detected frame, add its name into the request debug log.