Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Improve logging #2371

Closed
To-om opened this issue Apr 6, 2022 · 0 comments
Closed

[Enhancement] Improve logging #2371

To-om opened this issue Apr 6, 2022 · 0 comments
Assignees
Labels
enhancement TheHive4 TheHive4 related issues
Milestone

Comments

@To-om
Copy link
Contributor

To-om commented Apr 6, 2022

Request Type

Enhancement

Feature Description

Improve logging by:

  • Add log when the request is received (not only at the end) using logger org.thp.scalligraph.controllers.Entrypoint level INFO
  • Add userId and organisation in MDC. These data is not available on AccessLogFilter
  • Add log for executed queries, using logger org.thp.scalligraph.query.QueryExecutor level DEBUG
@To-om To-om added enhancement TheHive4 TheHive4 related issues labels Apr 6, 2022
@To-om To-om added this to the 4.1.19 milestone Apr 6, 2022
@To-om To-om self-assigned this Apr 6, 2022
To-om added a commit that referenced this issue Apr 6, 2022
@To-om To-om closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

1 participant