Log a session ID
Some developers consider logging to be a thief of performance and a false hope when they need to locate a bug. I consider it to be helpful in debugging scenarios and only experienced performance issues because of logging when it was used unwise. One way to make logs to be more helpful is to include a session ID in server-side log entries. Here is how to do it.