Sugar.logger

From OLPC
Revision as of 02:55, 2 October 2008 by 146.115.56.126 (talk)
Jump to navigation Jump to search
  Sugar Almanac

How do I retrieve the top level logging directory on my XO?

The following code prints out the standard directory for logging in sugar.

from sugar import logger
...
    print logger.get_logs_dir()