-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix IllegalArgumentException in Replayer logging #632
Fix IllegalArgumentException in Replayer logging #632
Conversation
...re/trafficReplayer/src/main/java/org/opensearch/migrations/replay/ResultsToLogsConsumer.java
Show resolved
Hide resolved
...cCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/TrafficReplayer.java
Outdated
Show resolved
Hide resolved
...ture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/TrafficReplayerCore.java
Outdated
Show resolved
Hide resolved
2690924
to
6b88953
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #632 +/- ##
=========================================
Coverage 75.79% 75.80%
- Complexity 1543 1548 +5
=========================================
Files 168 168
Lines 6437 6455 +18
Branches 575 575
=========================================
+ Hits 4879 4893 +14
- Misses 1179 1184 +5
+ Partials 379 378 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Andre Kurait <[email protected]>
6b88953
to
9ca9f29
Compare
Signed-off-by: Andre Kurait <[email protected]>
@AndreKurait Could you look into the CI failures before merging? |
@@ -72,7 +72,7 @@ appender.ALL_ACTIVE_WORK_MONITOR_LOGFILE.strategy.type = DefaultRolloverStrategy | |||
appender.ALL_ACTIVE_WORK_MONITOR_LOGFILE.strategy.max = 4 | |||
appender.ALL_ACTIVE_WORK_MONITOR_LOGFILE.immediateFlush = false | |||
|
|||
rootLogger.level = info | |||
rootLogger.level = trace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't do this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks
Signed-off-by: Andre Kurait <[email protected]>
Description
This change fixes illegal argument exception in a few places where the replayer logs messages contain "{}".
Issues Resolved
Progress towards Bug #633
Is this a backport? If so, please add backport PR # and/or commits #
Testing
Ran some end to end testing locally with various log levels and checking for errors.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.