3 ms·
The "bug" -- it's a strawman bug, actually im gonna go with strawbug :) -- is that TZ is supposed to specify what timezone I want to see times written in, and y
by doctor_eval 6y ago
The "bug" -- it's a strawman bug, actually im gonna go with strawbug :) -- is that TZ is supposed to specify what timezone I want to see times written in, and yet when I look at logs the time is not in the timezone I've chosen.
So my ideal would be to be able to set TZ and see logs in TZ time.
My ideal, to use epoch time instead of local time in logs, is because in a large number of cases I'm more interested in the relative time of log entries than the absolute time. Computing relative time (seconds intervals) between log entries is error prone.
I suppose in a sense I'm in both the UTC and non-UTC camp. On reflection, I agree that server logs should be in UTC. I just don't think I should have to read them in UTC or personally operate in UTC.
The ts tool mentioned above sounds perfect, and I'm gonna start playing with it...