Talk:HelloMesh

From OLPC
Revision as of 18:28, 2 March 2008 by David kw (talk | contribs) (problem seeing logs with fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I tried to use this activity to understand the mesh networking, but nothing was showing up in the Log Viewer. I fixed this by adding a .setLevel() call after the .getLogger() calls. For example:

self._logger = logging.getLogger('hellomesh-activity')

self._logger.setLevel(logging.DEBUG) # added this line two places in the code

Then the Log Viewer would show the logs.