Skip to content

Conversation

@peaBerberian
Copy link
Collaborator

We recently work in the RxPlayer toward more "formalized" logs: canalplus/rx-player#1717

This PR changes some logs and consequently might break some of RxPaired's "log processors".

I've updated them in two ways:

  1. I've made them less resilient but supporting both the older and newer syntax more explicitly. This both to help avoiding false positives (other logs being processed by mistake) and to improve perf (e.g. by checking that a log begins by some specific string before further processing).

  2. I now filter the timestamp and log severity (e.g. "warn", "info" etc. before calling the log processor, so the "log line" is just the log itself, making it easier to process)

We recently work in the RxPlayer toward more "formalized" logs:
canalplus/rx-player#1717

This PR changes some logs and consequently might break some of
RxPaired's "log processors".

I've updated them in two ways:

1. I've made them less resilient but supporting both the older and newer
   syntax more explicitly. This both to help avoiding false positives
   (other logs being processed by mistake) and to improve perf (e.g.
   by checking that a log begins by some specific string before further
   processing).

2. I now filter the timestamp and log severity (e.g. "warn", "info" etc. before
   calling the log processor, so the "log line" is just the log itself,
   making it easier to process)
@peaBerberian peaBerberian merged commit 03ca558 into main Aug 19, 2025
2 checks passed
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.

2 participants