From: Ulas Kozat Date: Tue, 24 May 2016 22:38:46 +0000 (-0700) Subject: Fixed loglevel reference error and modified README.md X-Git-Tag: colorado.1.0~54 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F19%2F14619%2F1;p=domino.git Fixed loglevel reference error and modified README.md Change-Id: I2d22ebd741ee61debf981356993587a62aa277ea Signed-off-by: Ulas Kozat --- diff --git a/DominoServer.py b/DominoServer.py index 4e8836c..d056542 100755 --- a/DominoServer.py +++ b/DominoServer.py @@ -266,7 +266,7 @@ class DominoServer: self.registration_record = dict() self.communicationHandler = CommunicationHandler(self) self.processor = Communication.Processor(self.communicationHandler) - self.transport = TSocket.TServerSocket(port=9090) + self.transport = TSocket.TServerSocket(port=DOMINO_SERVER_PORT) self.tfactory = TTransport.TBufferedTransportFactory() self.pfactory = TBinaryProtocol.TBinaryProtocolFactory() #Use TThreadedServer or TThreadPoolServer for a multithreaded server @@ -301,7 +301,7 @@ class DominoServer: def main(argv): server = DominoServer() - + loglevel = 'WARNING' #process input arguments try: opts, args = getopt.getopt(argv,"hc:l:",["conf=","log="]) diff --git a/README.md b/README.md index 18051ba..5120d0e 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ Tested on Ubuntu 14.04 and OS X El Capitan sudo pip install tosca-parser ###Start Domino Server: - ./DominoServer.py + ./DominoServer.py --log=DEBUG ###Start the first Domino Client: - ./DominoClient.py -p 9091 + ./DominoClient.py -p 9091 --log=DEBUG ###Start the second Domino Client: ./DominoClient.py -p 9092