From 546dc26beaa1248071497f720a76a7e43d496734 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 29 Oct 2006 22:43:52 +0100 Subject: [PATCH] Activate the logger before importing the ps, so that we show meaningful errors if avahi is missing. --- services/presence/sugar-presence-service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/presence/sugar-presence-service b/services/presence/sugar-presence-service index fc42e313..143d04ae 100755 --- a/services/presence/sugar-presence-service +++ b/services/presence/sugar-presence-service @@ -26,10 +26,10 @@ from sugar import env sys.path.insert(0, env.get_services_dir()) -from presence import PresenceService - logger.start('presenceservice') +from presence import PresenceService + logging.info('Starting presence service') PresenceService.main()