aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2016-05-24 15:38:46 -0700
committerUlas Kozat <ulas.kozat@gmail.com>2016-05-24 15:38:46 -0700
commit4435444272ac1849ef3a2dc3dca7931fabfd98cb (patch)
tree746a669721a45fc9521a4be24db0f146e09b4737
parent57a23f93ae803640517206de67f33f2fc442ca4c (diff)
Fixed loglevel reference error and modified README.md
Change-Id: I2d22ebd741ee61debf981356993587a62aa277ea Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
-rwxr-xr-xDominoServer.py4
-rw-r--r--README.md4
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