def start():

    logger.initialize_logging()

    app = make_app()
    app.listen(SERVER_PORT)

    general.info("starting server")

    tornado.ioloop.IOLoop.current().start()
def start():

    logger.initialize_logging()

    app = make_app()
    app.listen(SERVER_PORT)

    load_monitors()
    for monitor in list_monitors:
        general.info("loading monitor type: " + monitor)

    general.info("starting server")

    tornado.ioloop.IOLoop.current().start()
    def test_files_created(self):
        logger.initialize_logging()

        self.assertTrue(os.path.isfile("tests/log/sems.access.log"))
        self.assertTrue(os.path.isfile("tests/log/sems.application.log"))
        self.assertTrue(os.path.isfile("tests/log/sems.general.log"))