Re: [ros-users] cturtle action_server debug statements

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

I actually did not explicitly set my log-level to DEBUG.
I know how to change it using rxconsole, but where is the flag that make
it default to DEBUG?

Thanks

> 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
>



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