-
Notifications
You must be signed in to change notification settings - Fork 45
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
core: reduce the amount of logs for repeated events #9755
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #9755 +/- ##
==========================================
- Coverage 37.88% 37.87% -0.02%
==========================================
Files 992 992
Lines 90965 90965
Branches 1176 1176
==========================================
- Hits 34463 34452 -11
- Misses 56048 56059 +11
Partials 454 454
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
core/src/main/kotlin/fr/sncf/osrd/api/api_v2/RequirementsParser.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/fr/sncf/osrd/api/api_v2/RequirementsParser.kt
Outdated
Show resolved
Hide resolved
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.
Feel free to ignore, suggestions are to make the link more explicit when reading the logs.
core/src/main/kotlin/fr/sncf/osrd/stdcm/graph/STDCMSimulations.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/fr/sncf/osrd/stdcm/graph/STDCMSimulations.kt
Outdated
Show resolved
Hide resolved
b246cc1
to
fd06dab
Compare
Signed-off-by: Eloi Charpentier <eloi.charpentier.42@gmail.com> core: stdcm: only log failed simulations once Signed-off-by: Eloi Charpentier <eloi.charpentier.42@gmail.com> Update core/src/main/kotlin/fr/sncf/osrd/stdcm/graph/STDCMSimulations.kt Co-authored-by: bougue-pe <150040524+bougue-pe@users.noreply.github.com> Update core/src/main/kotlin/fr/sncf/osrd/stdcm/graph/STDCMSimulations.kt Co-authored-by: bougue-pe <150040524+bougue-pe@users.noreply.github.com>
fd06dab
to
bde028f
Compare
Reduces the amount of logs in two cases: