Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove timestamp prefixes from logfile #569

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oohal
Copy link
Contributor

@oohal oohal commented Dec 12, 2019

We already put them in a timestamped directory. There's not much point
in repeating it on the individual log files and as the logs are rotated
the timestamps drift which makes then annoying to tab complete.

If someone really wants to keep the timestamps then we could change the
prefix to a suffix I guess.

Old:
$ ls -1 test-reports/latest/*
test-reports/latest/20191212080156693511.main.log
test-reports/latest/20191212080156693830.debug.log
test-reports/latest/20191212190156.log
test-reports/latest/op-test-esel.Thu_Dec_12_19:02:51_2019

New:
$ ls -1 test-reports/latest/*
test-reports/latest/debug.log
test-reports/latest/host-console.log
test-reports/latest/main.log
test-reports/latest/op-test-esel.Thu_Dec_12_18:43:12_2019

Signed-off-by: Oliver O'Halloran [email protected]

We already put them in a timestamped directory. There's not much point
in repeating it on the individual log files and as the logs are rotated
the timestamps drift which makes then annoying to tab complete.

If someone really wants to keep the timestamps then we could change the
prefix to a suffix I guess.

Signed-off-by: Oliver O'Halloran <[email protected]>
@oohal oohal requested a review from debmc December 12, 2019 08:05
Copy link
Collaborator

@debmc debmc left a comment

Choose a reason for hiding this comment

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

I'm not working on op-test any longer, but the only comment I have about this is I would leave as-is.

When CI runs and many logs are dumped per CI grouping, it is quite helpful to have the files reflect in general when the test was started, etc. so if comparisons are made, etc.

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.

2 participants