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

Some cpp node logs only appear after killing the node #1

Open
mehditlili opened this issue May 4, 2021 · 3 comments
Open

Some cpp node logs only appear after killing the node #1

mehditlili opened this issue May 4, 2021 · 3 comments

Comments

@mehditlili
Copy link

I noticed that for cpp nodes, some info logs are not displayed when running "journalctl -f" and only appear as a huge accumulated block after killing the node. Is this a known bug? And is there a way to fix it?

@jspricke
Copy link
Contributor

Hi Mehdi, good to see you here :)
Did you make sure to use our patches for ros_comm and rosconsole as noted here: https://github.com/magazino/systemd_ros#c-with-roscpp

@mehditlili
Copy link
Author

Hi Jochen, yes I managed to single out the commit that fixes the problem, forwarding all logs from ROS nodes to journalctl. But even the commit says it is a "hack" since it also forwards logs from nodes started manually with roslaunch to journalctl. Did you guys figure out any other way to make it play nice with journalctl?

@jspricke
Copy link
Contributor

it should work nicely (at least it does at Magazino), mail me if you need more help with it.

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