# Unique key in logs to group all log entries for a single request

**URL:** <https://www.ruby-forum.com/t/unique-key-in-logs-to-group-all-log-entries-for-a-single-request/153167>\
**Category:** Rails\
**Created:** [November 12, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/unique-key-in-logs-to-group-all-log-entries-for-a-single-request/153167 "2008-11-12T21:45:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fredrik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/cab0a1/32.png) [@Fredrik](https://www.ruby-forum.com/u/Fredrik)\
**Post date:** [November 12, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/unique-key-in-logs-to-group-all-log-entries-for-a-single-request/153167/1 "2008-11-12T21:45:42Z")

</div>

Does anyone know of a way to append a unique key to each request in  
the logs (all lines for a single request) so they can be grouped and  
viewed per request.
