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

Turning off logging #13

Open
Shashvatb opened this issue Oct 2, 2024 · 4 comments
Open

Turning off logging #13

Shashvatb opened this issue Oct 2, 2024 · 4 comments
Assignees

Comments

@Shashvatb
Copy link

Shashvatb commented Oct 2, 2024

Hi @SeaOtocinclus
I've been trying to turn off the logging when loading the data. Is there an existing functionality that can turn this off or any small changes that can fix this easily? The std-out uses up way too many resources

@SeaOtocinclus
Copy link
Contributor

Unfortunately not for now, most of the logging is coming from a library we are using (projectaria_tools).

  • Can you precise exactly which piece of log is not good for you (so we could see the source of it and see if we could adjust?)

@SeaOtocinclus SeaOtocinclus self-assigned this Oct 10, 2024
@Shashvatb
Copy link
Author

logging of the following kind:
[VrsDataProvider][INFO]: Timecode stream found: 285-2
[VrsDataProvider][INFO]: Fail to activate streamId 286-1
[VrsDataProvider][INFO]: streamId 1201-1/camera-slam-left activated
[VrsDataProvider][INFO]: streamId 1201-2/camera-slam-right activated
[VrsDataProvider][INFO]: streamId 1202-1/imu-right activated
[VrsDataProvider][INFO]: streamId 1202-2/imu-left activated

Normally it shouldn't be that big of a deal but when you run it in a multiprocessing workflow, it loads it up multiple times cluttering up the std-out

@SeaOtocinclus
Copy link
Contributor

Those logs are coming from ProjectAria_tools, see here a related issues on the project facebookresearch/projectaria_tools#109

You can try redirect the logs to a file, as a temporary solution, else the code solution would be to make log configurable in projectaria_tools.

@Shashvatb
Copy link
Author

Thank you for this information!

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

No branches or pull requests

2 participants