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

[HOSTING-742] Using external lib-support-log-formatter #129

Merged
merged 2 commits into from
Apr 12, 2019

Conversation

jglick
Copy link
Member

@jglick jglick commented Apr 10, 2019

class SupportLogFormatter extends Formatter {

private static long start = System.nanoTime();
static String elapsedTime() { // modified from original
Copy link
Member

Choose a reason for hiding this comment

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

Ok, I think I get the DeltaSupportLogFormatter class, because this method got added here and hence is not in https://github.com/jenkinsci/lib-support-log-formatter/blob/master/src/main/java/io/jenkins/lib/support_log_formatter/SupportLogFormatter.java

Copy link
Member Author

Choose a reason for hiding this comment

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

Correct. For the specialized use case of functional tests, I found it more helpful to show seconds elapsed since start of test, rather than absolute timestamps.

@jglick jglick merged commit 2281a68 into jenkinsci:master Apr 12, 2019
@jglick jglick deleted the SupportLogFormatter-HOSTING-742 branch April 12, 2019 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants