<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi!<br>
<br>
On 07/26/2010 08:02 PM, Eitan Marder-Eppstein wrote:
<blockquote
 cite="mid:AANLkTikevpY94ZeXAWZrHQw_+QXu0=Kb3Gacjkx6p89U@mail.gmail.com"
 type="cite">
  <meta http-equiv="Context-Type"
 content="text/html; charset=ISO-8859-1">
Cedric and Joel,<br>
  <br>
It turns out that Josh was right, rospy is writing all debug statements
to log files, even if the log level is not set to debug. I've filed a
ticket against it, which when addressed, should fix these issues. You
can find the ticket here: <a moz-do-not-send="true"
 href="https://code.ros.org/trac/ros/ticket/2916">https://code.ros.org/trac/ros/ticket/2916</a><br>
</blockquote>
<br>
This discussion made me wonder, should all logdebug statements be
removed from python nodes which still run in boxturtle and are
frequently called? I'm particularly worried about the performance of a
low-powered robot that runs python nodes and communicates with a master
over a weak wireless link. If I understand it correctly, then every
rospy.logdebug(...) results in a callback of the python node to the
master, which then writes it into its local logfile?<br>
<br>
With the fix, the logging level of the nodes can be set  through the
launch file and then stays fixed, correct? I had assumed that I should
be able to change the log level with rxloggerlevel, but that's
apparently not the case:<br>
<a class="moz-txt-link-freetext" href="https://code.ros.org/trac/ros/ticket/2927">https://code.ros.org/trac/ros/ticket/2927</a><br>
<br>
Of course, if all the log level setup is done through log4cxx then that
functionality is missing in python.<br>
To avoid confusion, would it be possible to display python nodes in
rxloggerlevel nevertheless, with their current fixed log level and a
hint that it can not be changed in python nodes? It might be useful
having this hint in the wiki as well (which I could have missed).<br>
<br>
For the future, having changeable logger levels in python nodes would
be nice to have ;)<br>
<br>
Cheers,<br>
Armin<br>
<br>
<pre class="moz-signature" cols="72">-- 
Armin Hornung                              Albert-Ludwigs-Universität
<a class="moz-txt-link-abbreviated" href="http://www.informatik.uni-freiburg.de/~hornunga">www.informatik.uni-freiburg.de/~hornunga</a>   Dept. of Computer Science
<a class="moz-txt-link-abbreviated" href="mailto:HornungA@informatik.uni-freiburg.de">HornungA@informatik.uni-freiburg.de</a>        Humanoid Robots Lab
Tel.: +49 (0)761-203-8010                  Georges-Köhler-Allee 79
Fax : +49 (0)761-203-8007                  D-79110 Freiburg, Germany
</pre>
</body>
</html>