You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing a problem with robot upstart on ROS Kinetic. I install my bringup launch file and it automatically starts on system startup. I also set --logdir and the logs are written there.
But the log messages from ROS (ROS_INFO, ROS_ERROR) are also written to /var/log/syslog. This does not happen when directly calling roslaunch, only when the service runs.
Example of a syslog line:
Apr 17 16:10:41 robot robot-start[31465]: #33[31m[ERROR] [1523974241.950112782]: Sick300 not connected, will try connecting again in 500 msec...#33[0m
This is problematic because syslog is quickly growing too big.
I tried the solution from:
but without any luck.
Is there a solution for this? Thank you.
The text was updated successfully, but these errors were encountered:
Although I might be wrong, I can't think of a reason that robot_upstart by default prints to syslog even after briefly looking at the code. Looks like it used to before #14
It might be also worth noting that by --logdir arg you can specify the output directory.
I am facing the same issue right now. Maybe adding StandartOutput=null and StandartError=null lines to the [Service] section of the service file which is located at /etc/systemd/system/ is one solution. I have TCP messages using localhost do you have a similar thing in your system @maetulj ? I am asking this to understand the cause of the problem.
I am experiencing a problem with robot upstart on ROS Kinetic. I install my bringup launch file and it automatically starts on system startup. I also set --logdir and the logs are written there.
But the log messages from ROS (ROS_INFO, ROS_ERROR) are also written to /var/log/syslog. This does not happen when directly calling roslaunch, only when the service runs.
Example of a syslog line:
Apr 17 16:10:41 robot robot-start[31465]: #33[31m[ERROR] [1523974241.950112782]: Sick300 not connected, will try connecting again in 500 msec...#33[0m
This is problematic because syslog is quickly growing too big.
I tried the solution from:
but without any luck.
Is there a solution for this? Thank you.
The text was updated successfully, but these errors were encountered: