by VikingCoder · 14y ago · 0 comments
pid - yes, knowing the process id is good, but knowing the thread is also useful.
version - outputting this on every single log line is probably overkill. Ditto for host name.
But my computer thinks it's clock is in UTC, and it only converts to a timezone for human readable dates.
UTC is not only unambiguous, but on some systems measurably faster to capture.
My experience has taught me to work in UTC everywhere possible, local time is typically only relevant for direct human interaction.
Also, why don't you use a sortable form for time? (With the most significant parts first.)
On what grounds?