Managing log files
I've noticed that every time I have a new node subscribe to a topic, a new file gets created on .ros/log called rostopic_xxxx_xxxxxxxxxxxxx.log
I run rosbag at 1 minute intervals so I create a ton of files, to a point where a rm rostopic* would fail because there are so many files. This folder just gets to be so clustered that if I try to use it when I need it, I have a hard time finding what I need.
Here are a few specific questions I would like to ask about managing the logging:
Is there a way to limit writing of the rostopic_xxxx_xxxxxxxxxxxxx.log files?
Whats the reason for the rostopic.log files to not get written into folders?
Is there something built in I can configure without writing a script to manage the files?
When does a new folder like ~/.ros/log/fdfa58c8-cf58-11e4-b18e-78d00420d50e get written?
I'll edit the post as I find out more about it.
Thanks!
Edit:
Long since I've made the question, but I have learned more about it since. Here's a couple answers I've figured out.'
rostopic.log is created every time an 'rostopic echo' is called, or running a node. Only when ros is run through roslaunch, all of the nodes are inside a folder.
Just better house keeping with rosclean worked out for me.
See answer 1.
It's worth posting your findings into the answer section, even though it's your self-answer.