Actions
Feature #13558
closedinclude req_id in rails SQL debug logging
Start date:
Due date:
% Done:
100%
Estimated time:
Story points:
-
Release:
Release relationship:
Auto
Description
When running with config.log_level = :debug, rails outputs the actual SQL queries that activerecord is using. That is great, but when debugging a server under load with many workers, it becomes almost impossible to follow which SQL queries belong to which request.
It would be helpful to tag those log lines with the same req_id that is listed in the normal JSON log output.
Actions