16 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/python
 | 
						|
 | 
						|
import logging
 | 
						|
import sugar.env
 | 
						|
from PresenceService import PresenceService
 | 
						|
 | 
						|
# FIXME this looks like duplicated
 | 
						|
level = sugar.env.get_logging_level()
 | 
						|
if level == 'debug':
 | 
						|
	logging.basicConfig(level=logging.DEBUG,
 | 
						|
						format='%(levelname)s %(message)s')
 | 
						|
 | 
						|
logging.info('Starting presence service')
 | 
						|
 | 
						|
PresenceService.main()
 |