Everyone talks big game about the file names but forget how important standardizing on log time stamps is too. When I’m able to pipe a bunch of logs into sort, I get so happy.
this post was submitted on 09 Aug 2023
1920 points (93.1% liked)
Memes
45727 readers
649 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
join south africa and (sorta) japan, use YYYY-MM-DD as a default - sorts well, zero ambiguity.. at least until some joker starts popularising YYYY-DD-MM, anyway
This is me but without the dashes. Haha I know l, what’s wrong with me..
But I’ve also started using 10/Aug in emails to make things crystal clear.
Anyway.
filename.`date +%s`
No love for DD-YYYY-MM?
Why would you ever not put the month next to the day
load more comments
(2 replies)
This is big pp idea and I like it.
I'm a firm believer of 01 Jan 2023 for everything else