2006-07-24 16:24:39 +02:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
2006-07-24 18:48:19 +02:00
|
|
|
import logging
|
|
|
|
import sugar.env
|
2006-07-24 16:24:39 +02:00
|
|
|
from PresenceService import PresenceService
|
|
|
|
|
2006-07-26 16:33:44 +02:00
|
|
|
# FIXME this looks like duplicated
|
2006-07-24 18:48:19 +02:00
|
|
|
level = sugar.env.get_logging_level()
|
|
|
|
if level == 'debug':
|
|
|
|
logging.basicConfig(level=logging.DEBUG,
|
|
|
|
format='%(levelname)s %(message)s')
|
|
|
|
|
2006-07-24 16:24:39 +02:00
|
|
|
PresenceService.main()
|