Skip to content

[18.0][FIX] monitoring_log_requests: fix blacklist and status_code - #517

Open
dnplkndll wants to merge 1 commit into
camptocamp:18.0from
ledoent:18.0-fix-monitoring_log_requests
Open

[18.0][FIX] monitoring_log_requests: fix blacklist and status_code#517
dnplkndll wants to merge 1 commit into
camptocamp:18.0from
ledoent:18.0-fix-monitoring_log_requests

Conversation

@dnplkndll

Copy link
Copy Markdown
Contributor

Summary

Fix three bugs in the 18.0 port of monitoring_log_requests.

Fixes

  • Add /websocket to blacklist (Odoo 18 uses websockets for bus notifications instead of longpolling)
  • Fix response_status_code: hasattr checked request instead of response, and wrote to wrong key name
  • Add default "" for PATH_INFO to prevent NoneType.startswith error

- Add /websocket to blacklist (Odoo 18 uses websockets for bus)
- Fix response_status_code: hasattr checked request instead of response,
  and wrote to wrong key (status_code vs response_status_code)
- Add default "" for PATH_INFO to avoid NoneType.startswith error
@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale label Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant