Skip to content

Conversation

@sergiyvamz
Copy link
Contributor

Summary

Extend test logs with thread name

Additional Reviewers

@karenc-bq
@aaron-congo
@aaronchung-bitquill

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format=[%1$tF %1$tT.%1$tL] [%4$-7s] %2$s%n %5$s %n
java.util.logging.ConsoleHandler.formatter=software.amazon.logging.ExtendedFormatter
software.amazon.logging.ExtendedFormatter.format=[%1$tF %1$tT.%1$tL] [%4$-7s] [%7$-10s] %2$s%n %5$s %n
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
software.amazon.logging.ExtendedFormatter.format=[%1$tF %1$tT.%1$tL] [%4$-7s] [%7$-10s] %2$s%n %5$s %n
software.amazon.logging.ExtendedFormatter.format=[%1$tF %1$tT.%1$tL] [%4$-7s] [%7$-10s] %2$s %5$s %n

Can we print the entire log on the same line

@sergiyvamz sergiyvamz changed the title [WIP] extend logs with thread name Extend logs with thread name May 25, 2023
@sergiyvamz sergiyvamz merged commit 9345cb2 into main May 25, 2023
@sergiyvamz sergiyvamz deleted the extended-logger branch May 25, 2023 22:58
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