Skip to content

Conversation

@prudhvigodithi
Copy link
Contributor

@prudhvigodithi prudhvigodithi commented Nov 15, 2025

Attempt to solve #381
(Initially coming from apache/lucene#15383)

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

# Create timestamped log subdirectory to avoid conflicts between runs
now = datetime.datetime.now()
timeStamp = "%04d.%02d.%02d.%02d.%02d.%02d" % (now.year, now.month, now.day, now.hour, now.minute, now.second)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked Claude to change this fragment to use strftime instead:

now = datetime.datetime.now()
timeStamp = now.strftime("%Y.%m.%d.%H.%M.%S")

https://claude.ai/share/a8042a55-733f-4c9e-91f3-b8c2d71c3bad

A bit more compact maybe :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure let me update this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in my latest commit, please check.

Copy link
Owner

@mikemccand mikemccand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good first step -- we can baby-step any other log files? Need not be draft?

@prudhvigodithi prudhvigodithi marked this pull request as ready for review November 18, 2025 16:55
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Copy link
Collaborator

@jainankitk jainankitk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @prudhvigodithi for fixing this annoying issue!

@jainankitk
Copy link
Collaborator

@prudhvigodithi - You might need to run make reformat for checks to pass

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@prudhvigodithi
Copy link
Contributor Author

@prudhvigodithi - You might need to run make reformat for checks to pass

Thanks just pushed with the formats.

@jainankitk jainankitk merged commit 2b3811f into mikemccand:main Nov 18, 2025
1 check passed
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.

3 participants