<reponame>chris0203/pmes
import os
import sys
import logging

# Third-party
import tornado.ioloop

# Locals

PROJ_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

if PROJ_DIR not in sys.path:
	sys.path.append(PROJ_DIR)


logging.basicConfig(filename='storage.log',level=logging.DEBUG,
					format='%(asctime)s %(message)s')



if __name__ == '__main__':

	import settings
	from urls import storage_router
	# Define port
	storage_router.listen(settings.storageport)
	# Start server
	tornado.ioloop.IOLoop.current().start()
import os
import sys
import logging

# Third-party
import tornado.ioloop

# Locals

PROJ_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

if PROJ_DIR not in sys.path:
	sys.path.append(PROJ_DIR)


logging.basicConfig(filename='storage.log',level=logging.DEBUG,
					format='%(asctime)s %(message)s')



if __name__ == '__main__':

	import settings
	from urls import storage_router
	# Define port
	storage_router.listen(settings.storageport)
	# Start server
	tornado.ioloop.IOLoop.current().start()
# Third-party # Locals # Define port # Start server