Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/sugar-presence-service
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-08-11 23:29:55 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-08-11 23:29:55 (GMT)
commitfc1aefc72c35b830ae36e5f29fce31947eb70dd7 (patch)
tree3752aee2f4534d2ff31188d6cd0f12e2ae61b53b /shell/sugar-presence-service
parentc5fb39875c9a6609868ef7295193840df183a6f4 (diff)
Use dbus-launch with the --exit-with-session. dbus not exiting still not fully solved.
Diffstat (limited to 'shell/sugar-presence-service')
-rwxr-xr-xshell/sugar-presence-service8
1 files changed, 2 insertions, 6 deletions
diff --git a/shell/sugar-presence-service b/shell/sugar-presence-service
index 4b939c4..fda0d12 100755
--- a/shell/sugar-presence-service
+++ b/shell/sugar-presence-service
@@ -1,14 +1,10 @@
#!/usr/bin/python
import logging
-import sugar.env
from PresenceService import PresenceService
+import sugar.logger
-# FIXME this looks like duplicated
-level = sugar.env.get_logging_level()
-if level == 'debug':
- logging.basicConfig(level=logging.DEBUG,
- format='%(levelname)s %(message)s')
+sugar.logger.start('PresenceService')
logging.info('Starting presence service')