Skip to content

Use ISO 8601 format for log filenames - #165

Open
SuchDominion wants to merge 4 commits into
UTDNebula:developfrom
SuchDominion:fix/iso-8601-log-filenames
Open

SuchDominion wants to merge 4 commits into
UTDNebula:developfrom
SuchDominion:fix/iso-8601-log-filenames

Conversation

@SuchDominion

@SuchDominion SuchDominion commented Apr 17, 2026 •

Copy link
Copy Markdown

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

bvaic commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

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.

@justinschwerdtfeger
justinschwerdtfeger requested review from a team as code owners September 24, 2026 18:13

This branch has not been deployed

No deployments
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

3 participants