Set up the logger for the shell service.
This commit is contained in:
parent
f54decf07c
commit
4e8e2ea426
@ -25,6 +25,7 @@ import logging
|
|||||||
import gobject
|
import gobject
|
||||||
import dbus.glib
|
import dbus.glib
|
||||||
|
|
||||||
|
from sugar import logger
|
||||||
from sugar import env
|
from sugar import env
|
||||||
|
|
||||||
sys.path.append(env.get_service_path('shell'))
|
sys.path.append(env.get_service_path('shell'))
|
||||||
@ -32,6 +33,7 @@ sys.path.append(env.get_service_path('shell'))
|
|||||||
import clipboardservice
|
import clipboardservice
|
||||||
import activityregistryservice
|
import activityregistryservice
|
||||||
|
|
||||||
|
logger.start('shellservice')
|
||||||
logging.info('Starting shell service.')
|
logging.info('Starting shell service.')
|
||||||
|
|
||||||
gobject.threads_init()
|
gobject.threads_init()
|
||||||
|
Loading…
Reference in New Issue
Block a user