-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Ringlogger Enhancements: Multiple Application Filter Support, Argument Support to RingLogger Launch Command, Filter Support For Date Navigation #196
base: main
Are you sure you want to change the base?
Conversation
Hi @fhunleth, FYI, this is part of Fellowes Nerves work. We are not yet using these "enhancements" as we would like your feedback and review before we start committing the muscle memory. :-) These are mostly about efficiency both in terms of bandwidth and IoT device processing. For example, if the developer knows they want to filter based on 3 apps, doing it once is 1/3rd the work as applying the filter once for each appended app filter. Similar thinking in being able to pass in the desired filter as part of the viewer startup. Lastly, we have a use case where a less technical person is responsible for using the viewer and gathering troubleshooting information. These enhancements make it easier to get them there faster. |
Hi @taun-fellowes and @Shivaji-Dhepale! These improvements actually look really nice. I'm in the process of giving them a try in between meetings and work. I was going to give some feedback after I got a chance to look at it more since it's a bit of a context switch at the moment for me. In the mean time, would you mind rebasing on |
FAQM-1743: Rebased Fellowes Ringlogger Fork with Upstream and Verified Changes
Bumps [credo](https://github.com/rrrene/credo) from 1.7.7 to 1.7.9. - [Release notes](https://github.com/rrrene/credo/releases) - [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md) - [Commits](rrrene/credo@v1.7.7...v1.7.9) --- updated-dependencies: - dependency-name: credo dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [credo](https://github.com/rrrene/credo) from 1.7.9 to 1.7.10. - [Release notes](https://github.com/rrrene/credo/releases) - [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md) - [Commits](rrrene/credo@v1.7.9...v1.7.10) --- updated-dependencies: - dependency-name: credo dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [dialyxir](https://github.com/jeremyjh/dialyxir) from 1.4.3 to 1.4.5. - [Release notes](https://github.com/jeremyjh/dialyxir/releases) - [Changelog](https://github.com/jeremyjh/dialyxir/blob/master/CHANGELOG.md) - [Commits](jeremyjh/dialyxir@1.4.3...1.4.5) --- updated-dependencies: - dependency-name: dialyxir dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.34.2 to 0.35.0. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](elixir-lang/ex_doc@v0.34.2...v0.35.0) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.35.0 to 0.36.0. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](elixir-lang/ex_doc@v0.35.0...v0.36.0) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.36.0 to 0.36.1. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](elixir-lang/ex_doc@v0.36.0...v0.36.1) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [credo](https://github.com/rrrene/credo) from 1.7.10 to 1.7.11. - [Release notes](https://github.com/rrrene/credo/releases) - [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md) - [Commits](rrrene/credo@v1.7.10...v1.7.11) --- updated-dependencies: - dependency-name: credo dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
This aligns the official supported Elixir versions with other Nerves packages.
This is a quick bandaid to make persistence tests less susceptible to issues from every test using the same log file.
…585-concat-commands-support
Hi @fhunleth, We rebased our branch to main on January 29, 2025. Also resolved the CircleCI pipeline failures. Requesting you to review it and let us know if any changes are required. |
@Shivaji-Dhepale Thanks for the note. I think there is a misunderstanding on what I was looking for. I really need the PR to be much smaller so that it's easier to review. It has unrelated changes in the commit history, and GitHub is hopefully showing you the warning about the "branch cannot be rebased safely". I use the git commandline tools, so for rebasing to main involves I did start reviewing and there's a lot. I like the features, but if we review all at once, I am worried that it will never be merged. Splitting this up into smaller PRs will be much quicker. You had a good list for PRs:
The date entry command might be an easy one to start with since it seems the smallest. If you're up for it, ping me on the Elixir slack and perhaps we can set up a time to pair on getting these changes in. |
As per your suggestion, we have created a PR for the date entry navigation feature. 1.Enhancement to the existing application list command Hope this is in line with your expectations. |
Thanks! I saw the PR. I'll get to it soon. |
This PR introduces several enhancements to the Ringlogger viewer command systems, improving its flexibility and functionality:
1.Enhancement to existing application list command:
Now application command can accept a list of applications, which allows more dynamic interaction with multiple applications at once.
2.Optional Initial Command String for Launch Command:
Launch command is modified to accept string as an argument, enabling users to pass additional parameters as command string directly during launch.
Additional command string can be as follows:
1. Ringlogger.viewer("l debug")
2. Ringlogger.viewer("a app_one app_two app_three")
3. Ringlogger.viewer("d 2025-12-11 10:20:11")
4. Ringlogger.viewer("r")
5. Ringlogger.viewer("g grab_some_data")
6. Ringlogger.viewer("q")
3.Addition of New Command for Date Entry Navigation:
A new command has been added to facilitate easy navigation to the date entry section. This improves the overall user experience when working with time-sensitive data.
These changes aim to provide greater control and customisation for users interacting with the Ringlogger command system, enhancing both usability and diagnostic capabilities.
Testing:
Demo:


command: > a nil $kmsg telit_modem
Response:
command: Ringlogger.viewer("l info; a telit_modem vintage_net")


Response:
command: > d 2025-01-06 05:54:10


Response: