Re: [ros-users] cturtle action_server debug statements

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Joel Cartwright
Date:  
To: ros-users
Subject: Re: [ros-users] cturtle action_server debug statements
Eitan,

On the subject of logging, I noticed today that my ~/.ros/log directory
had grown quite large, and rxgraph was producing particularly verbose
logs. DEBUG logging seems to be enabled at line 68 of
cturtle/ros/tools/rxgraph/src/rxgraph/__init__.py. Is this level of
logging intentional?

Regards,

Joel

Eitan Marder-Eppstein wrote, On 26/07/10 18:32:
> Cedric,
>
> We normally only enable the DEBUG log level when we're actively testing
> or trying to diagnose a problem in a node. Is there any reason that you
> need to have the log level for actionlib set to DEBUG? Can you try
> setting it to INFO instead to see if that solves your load/logfile
> problems. If it doesn't, please let us know as that's a bug for the ROS
> logging system.
>
> Hope all is well,
>
> Eitan
>
> On Sat, Jul 24, 2010 at 3:54 AM, Cedric Pradalier
> < <mailto:cedric.pradalier@mavt.ethz.ch>>
> wrote:
>
>     Hi,

>
>     I've just noticed two rospy.logdebug statement in cturtle
>     action_server.py and simple_action_server.py:
>     In action_server.py:314: rospy.logdebug("Status async");
>     In simple_action_server.py:306: rospy.logdebug("SAS: execute");

>
>     On my system, with my simple launch files and simple_action_server,
>     these two are making my logfiles grow to infinity, and makes my
>     action_server use 10% of my CPU while not doing anything.
>     I've commented them out for now, but is there a smarter way?

>
>     For information, I've also noticed that rosout is in general using
>     around 10% of my CPU with a slow harddrive (within virtualbox), but that
>     it goes down to 4-5% when putting the ROS_LOG_DIR in tmpfs. This might
>     be significant for embedded system logging on a flash-drive.

>
>     --
>     Dr. Cedric Pradalier
>     http://www.asl.ethz.ch/people/cedricp

>
>     _______________________________________________
>     ros-users mailing list
>      <mailto:ros-users@code.ros.org>
>     https://code.ros.org/mailman/listinfo/ros-users

>
>
>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users


--
Research Associate
Ocean Systems Laboratory
Heriot-Watt University, UK