Categories
Technology

Adding context to your logs

[caption id="" align=“alignright” width=“316” caption=“joysaphine @ flickr”][/caption] If you have ever worked on a multi-threaded application or even any application of significant scope, one of the unwritten requirement is a log file that helps in supporting the application. The challenge is to be able to piece together all the scattered log entries that belong together, may be as a single transaction, or a user’s session. So the goal is to have a unique identifier in each log entry that will aid greping.