Skip to content
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

Add the possibility to log only a subset of text logging ports #561

Merged
merged 4 commits into from
Sep 14, 2022

Conversation

GiulioRomualdi
Copy link
Member

Back in time, we (@S-Dafarra and I) noticed that storing the text with the logger is time-consuming. This PR gives the user the possibility to log only a subset of text logging ports by specifying substrings that need to be contained in the port name.
If one of those substrings is found then the port is logged.

In order to do so, I introduced text_logging_subnames parameter. This parameter is optional. If not passed all the logs are saved

This is an example of configuration

text_logging_subnames    ("icub-head/yarprobotinterface", "walking-module")

@GiulioRomualdi GiulioRomualdi self-assigned this Sep 13, 2022
@GiulioRomualdi GiulioRomualdi force-pushed the logger/text_logging_substrings branch from 61eb437 to c1de8d0 Compare September 14, 2022 14:35
@GiulioRomualdi GiulioRomualdi merged commit ed3fb44 into master Sep 14, 2022
@GiulioRomualdi GiulioRomualdi deleted the logger/text_logging_substrings branch September 14, 2022 16:06
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