Logging best practices from Splunk, useful for application developers.
- Use clear key-value pairs, with "" for strings with spaces. Commas ok, avoid periods.
- Time-stamps w/ 4-digit year and time zones.
- Unique IDs (transaction IDs). Ideally, use the same transaction ID across an entire system so you can see all the events that happened during that transaction.