
import logging
from ThreadEngine import Engine 

if __name__ == "__main__":
    import logging
    import settings
    logging.basicConfig(filename='/home/tomek/deamon.log', level=logging.WARNING, format='%(asctime)s %(message)s', datefmt='%d/%m/%Y %H:%M:%S %p')
    settings.init()
    
    engine = Engine()
    engine.start_newthread()
    


import logging
from ThreadEngine import Engine 

if __name__ == "__main__":
    import logging
    import settings
    logging.basicConfig(filename='/home/tomek/deamon.log', level=logging.WARNING, format='%(asctime)s %(message)s', datefmt='%d/%m/%Y %H:%M:%S %p')
    settings.init()
    
    engine = Engine()
    engine.start_newthread()
    
