Difference between revisions of "Development Team/Almanac/sugar.logger"
< Development Team | Almanac
Jump to navigation
Jump to search
(No difference)
|
Revision as of 21:55, 1 October 2008
For Developers: almanac · api · bugs · gitorious · cgit · download · people · OLPC: wiki · activities · trac · cgit · build index · repository · firmware · Fedora: packages
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()