Development Team/Almanac/sugar.logger

From Sugar Labs
< Development Team‎ | Almanac
Revision as of 21:55, 1 October 2008 by 146.115.56.126 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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()