From 4435444272ac1849ef3a2dc3dca7931fabfd98cb Mon Sep 17 00:00:00 2001 From: Ulas Kozat Date: Tue, 24 May 2016 15:38:46 -0700 Subject: Fixed loglevel reference error and modified README.md Change-Id: I2d22ebd741ee61debf981356993587a62aa277ea Signed-off-by: Ulas Kozat --- DominoServer.py | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- cgit 1.2.3-korg