Skip to content

Use ISO 8601 format for log filenames#165

Open
SuchDominion wants to merge 3 commits intoUTDNebula:developfrom
SuchDominion:fix/iso-8601-log-filenames
Open

Use ISO 8601 format for log filenames#165
SuchDominion wants to merge 3 commits intoUTDNebula:developfrom
SuchDominion:fix/iso-8601-log-filenames

Conversation

@SuchDominion
Copy link
Copy Markdown

@SuchDominion SuchDominion commented Apr 17, 2026

Summary

Test plan

  • go build ./... passes
  • Ran the binary; confirmed a log file named like 2026-04-16T22-42-15.log is created under ./logs/

Log files are now named YYYY-MM-DDTHH-MM-SS.log with zero-padded
fields so they sort lexicographically by creation time.
@bvaic
Copy link
Copy Markdown
Contributor

bvaic commented Apr 17, 2026

Not sure if we need the padding for the year because it's already 4 digits and the padding wouldn't do anything for year 10000 onward. Not a big deal though, everything else looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logging in year month day format

2 participants