[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1445379840-113042-2-git-send-email-jrajahalme@nicira.com>
Date: Tue, 20 Oct 2015 15:23:59 -0700
From: Jarno Rajahalme <jrajahalme@...ira.com>
To: dev@...nvswitch.org
Cc: netdev@...r.kernel.org, jrajahalme@...ira.com
Subject: [RFC PATCH 2/3] tests: Enable debugging in pyftpdlib.
Helps diagnosing problems.
Signed-off-by: Jarno Rajahalme <jrajahalme@...ira.com>
---
tests/test-l7.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/test-l7.py b/tests/test-l7.py
index 65c6c2a..faec2bc 100755
--- a/tests/test-l7.py
+++ b/tests/test-l7.py
@@ -30,6 +30,10 @@ def get_ftpd():
from pyftpdlib.handlers import FTPHandler
from pyftpdlib.servers import FTPServer
+ import logging
+ import pyftpdlib.log
+ pyftpdlib.log.LEVEL = logging.DEBUG
+
class OVSFTPHandler(FTPHandler):
authorizer = DummyAuthorizer()
authorizer.add_anonymous("/tmp")
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists