Skip to content

Changes RackAttack logger to use structured logs

Mayra Cabrera requested to merge 54528-add-rack-attack-to-structured-logs into master

What does this MR do?

RackAttack logger is currently using Rails.logger to log rack attack events. This MR changes the initializer to use a structured log instead.

As an effort of https://gitlab.com/gitlab-org/gitlab-ce/issues/48747

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

To do

Closes #54528 (closed)

Edited by Mayra Cabrera

Merge request reports