Send Correlation-IDs back to the client
Workhorse now tags all logs with a correlation-id value.
It would be great to send this value back to the client as this could greatly assist with debugging. The most unobtrusive way to do this would be via a header.
Many other sites take a similar approach. For example:
$ curl -vi https://api.github.com
< X-GitHub-Request-Id: F1E5:067A:EDE43:21553C:5B769F8F
$ curl -vi http://any-website-running-behind-amazon-cloudfront
< x-amz-cf-id: ZmjgO7uPw_kMqM5Cj51AUxRP2_xbg9AfIWEOEleDsduPcUI4YbdSeg==
cc @nolith
Edited by Andrew Newdigate