Commit graph

6 commits

Author SHA1 Message Date
Andrew Newdigate
189b063ee1 Add route information to lograge structured logging 2018-09-05 10:01:26 +01:00
Andrew Newdigate
a62a65b869 Add gitaly_calls to API structured logs 2018-09-04 17:14:22 +00:00
Imre Farkas
854c9636ec
Enforce UTF-8 encoding on user input in LogrageWithTimestamp formatter and filter out file content from logs 2018-06-06 22:25:20 +02:00
Stan Hu
16e04e006c Log queue duration for Grape API calls
This mimics the same thing the RailsQueueDuration does for Rails controller
requests and will help diagnose issues with API delays.

Closes #46601
2018-05-28 13:56:42 -07:00
Stan Hu
eaf9088ba8 Save user ID and username in Grape API log (api_json.log)
This will enable admins to identify who actually made the API request.

Relates to #36960
2018-01-08 21:23:24 -08:00
Stan Hu
35dec2c3e8 Use a custom GrapeLogging formatter to get the timestamp 2017-09-07 07:48:13 -07:00