awslabs / amazon-kinesis-video-streams-pic

Apache License 2.0
49 stars 51 forks source link

Fix timestamp ms precision #208

Closed disa6302 closed 1 year ago

disa6302 commented 1 year ago

Issue #, if available:

Description of changes:

Fix millisecond precision in log timestamps. Earlier: yyyy-mm-dd HH:MM:SS.ssssss After change: yyyy-mm-dd HH:MM:SS.sss

Example log line before this change 2023-08-29 19:29:29.000588 DEBUG turnConnectionStepState(): TurnConnection state changed from TURN_STATE_BIND_CHANNEL to TURN_STATE_READY

Example log line after this change 2023-08-29 19:29:29.588 DEBUG turnConnectionStepState(): TurnConnection state changed from TURN_STATE_BIND_CHANNEL to TURN_STATE_READY

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.04% :tada:

Comparison is base (5422548) 75.19% compared to head (2b34cf9) 75.24%.

:exclamation: Current head 2b34cf9 differs from pull request most recent head 6ebf669. Consider uploading reports for the commit 6ebf669 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #208 +/- ## =========================================== + Coverage 75.19% 75.24% +0.04% =========================================== Files 52 52 Lines 10170 10166 -4 =========================================== + Hits 7647 7649 +2 + Misses 2523 2517 -6 ``` | [Files Changed](https://app.codecov.io/gh/awslabs/amazon-kinesis-video-streams-pic/pull/208?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs) | Coverage Δ | | |---|---|---| | [src/utils/src/Time.c](https://app.codecov.io/gh/awslabs/amazon-kinesis-video-streams-pic/pull/208?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL3V0aWxzL3NyYy9UaW1lLmM=) | `46.66% <100.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/awslabs/amazon-kinesis-video-streams-pic/pull/208/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.