Skip to content

Add ViewLoggingMiddleware to log view calls in the application#65

Merged
lalalaurentiu merged 1 commit intopeviitor-ro:mainfrom
lalalaurentiu:validator
Nov 26, 2025
Merged

Add ViewLoggingMiddleware to log view calls in the application#65
lalalaurentiu merged 1 commit intopeviitor-ro:mainfrom
lalalaurentiu:validator

Conversation

@lalalaurentiu
Copy link
Copy Markdown
Collaborator

This pull request introduces a new middleware to log view calls for debugging and monitoring purposes. The middleware is added to the Django project's middleware stack.

Middleware enhancements:

  • Added a new ViewLoggingMiddleware in scraper_Api/core/middleware.py that logs the request path and resolved view name each time a view is called.
  • Registered the ViewLoggingMiddleware in the Django MIDDLEWARE settings to ensure it is executed with every request.

@lalalaurentiu lalalaurentiu merged commit e39d641 into peviitor-ro:main Nov 26, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant