ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

how do i know which roscore log file

asked 2021-09-26 19:00:09 -0500

i started roscore, but i dont know which file to tail.

i checked the environment variables to no avail printenv | grep ROS

when i do a ps -aux | grep ros

i get meta 20195 0.1 0.3 379412 62572 pts/1 Sl 19:16 0:03 /usr/bin/python /opt/ros/melodic/bin/roscore meta 20214 0.2 0.3 742792 62084 ? Ssl 19:16 0:04 /usr/bin/python /opt/ros/melodic/bin/rosmaster --core -p 11311 -w 3 __log:=/home/meta/.ros/log/c8949900-1f1f-11ec-bfd3-10bf48b6ebed/master.log meta 20225 0.1 0.0 401848 10432 ? Ssl 19:16 0:03 /opt/ros/melodic/lib/rosout/rosout __name:=rosout __log:=/home/meta/.ros/log/c8949900-1f1f-11ec-bfd3-10bf48b6ebed/rosout-1.log

this is the only place i can see where i can tail the log file c8949900-1f1f-11ec-bfd3-10bf48b6ebed/rosout-1.log

maybe there should be a roscore info command that gives these little details

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-26 19:08:35 -0500

i suppose i can live with ls -lat ~/.ros/log/latest/

since its a pointer to the folder with the ID of the currently running ROS instance

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-09-26 19:00:09 -0500

Seen: 112 times

Last updated: Sep 26 '21