modifié: m/log.py

modifié:         superTornado.py
This commit is contained in:
sidya82
2014-03-03 14:09:06 +01:00
parent 6cdbd96b7f
commit 94bfdc25d0
2 changed files with 19 additions and 13 deletions

View File

@@ -174,12 +174,13 @@ if __name__ == "__main__":
sys.exit(1)
print log.printL("->Configuration Server Load Successfully !",25)
if blind == True:
log.printL(" ->Blind unhabitant",20)
log.printL(" +Blind unhabitant",20)
else :
log.printL(" ->Not blind unhabitant",20)
log.printL(" ->Ip camera : " + ipCamera,20)
log.printL(" ->Port Camera : " + portCamera,20)
log.printL(" ->Port Server : " + portServ,20)
log.printL(" +Not blind unhabitant",20)
log.printL(" +Ip Camera : " + ipCamera,20)
log.printL(" +Port Camera : " + portCamera,20)
log.printL(" +Port Server : " + portServ,20)
print ""
try :
log.printL("->Server Start ...",20)
@@ -190,5 +191,5 @@ if __name__ == "__main__":
tornado.ioloop.IOLoop.instance().start()
except Exception, e :
log.printL("Server Start Failed !",40)
log.printL(e,40)
log.printL(e.value,40)
sys.exit(1)