I've been looking for some Best Practices in log formatting, writing, reading, etc.
timestamp every line? look up the time again for every line, or have the value be "sticky" over some small duration of activity (e.g. within a single function)?
try to indicate "level" in some way? (indent via asterisks)
how examine a huge log file? grep only gives you single lines matching pattern, where you usually want to see multiple lines around each occurrence. Do you write some log extraction code to step through a huge file and write out extracts when you're curious about some particular event?
Edited: | Tweet this!