From patchwork Tue Oct 20 22:23:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarno Rajahalme X-Patchwork-Id: 533528 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (li376-54.members.linode.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 2AC6B1412E5 for ; Wed, 21 Oct 2015 09:24:20 +1100 (AEDT) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 786C2102C9; Tue, 20 Oct 2015 15:24:16 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v1.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id C929A1027C for ; Tue, 20 Oct 2015 15:24:14 -0700 (PDT) Received: from bar4.cudamail.com (bar2 [192.168.15.2]) by mx3v1.cudamail.com (Postfix) with ESMTP id 5039761981C for ; Tue, 20 Oct 2015 16:24:14 -0600 (MDT) X-ASG-Debug-ID: 1445379854-03dc210f7a1506d0001-byXFYA Received: from mx3-pf2.cudamail.com ([192.168.14.1]) by bar4.cudamail.com with ESMTP id 3knPwXCCT4vWnrmp (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Oct 2015 16:24:14 -0600 (MDT) X-Barracuda-Envelope-From: jrajahalme@nicira.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.1 Received: from unknown (HELO mail-pa0-f48.google.com) (209.85.220.48) by mx3-pf2.cudamail.com with ESMTPS (RC4-SHA encrypted); 20 Oct 2015 22:24:13 -0000 Received-SPF: unknown (mx3-pf2.cudamail.com: Multiple SPF records returned) X-Barracuda-RBL-Trusted-Forwarder: 209.85.220.48 Received: by padhk11 with SMTP id hk11so33509046pad.1 for ; Tue, 20 Oct 2015 15:24:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eW4wkjlHsHiwmGzTmS+BFWf4xMa0hfVaFV3IMDPubRA=; b=TSYXayJy7UcjtmajEwpuQy7UCKa+z55IAJd9bFNaWpiaGqfWazXrS63kDLH6N7Kqm1 N38VyF61XN0dXhjwo19wVj+/uOt4u1a6D8xQtWmTwYz0DnhvWAZb4yEFkLkyn6FdzSK8 jpBNdoAx1d8KFC8DGw9pvYYBqYKoGaSw6mdLbOy5zHe2LjwBsIC4qu3ujgHtI9Z6Ziif nVHrkmTJdnUbcUglc5hxw7hc6ZnQxFpNQqLgFbwjWioph+6BVQBMGJLJezM3xDApdS94 E+G7MOxWO2K44jtoOCMIUTPb4jnJ+ZymdlIZK57veqHvUtqTOh8UR2BhbiUGp8VeM3+P zjKQ== X-Gm-Message-State: ALoCoQk5ifstq1flx4/6xWKTJUwFFVAEKGWpZKrrp8CyNMAE028pFDh7PVOKE7Xstions55Erfcr X-Received: by 10.68.103.2 with SMTP id fs2mr6438725pbb.123.1445379853270; Tue, 20 Oct 2015 15:24:13 -0700 (PDT) Received: from sc9-mailhost2.vmware.com ([208.91.1.34]) by smtp.gmail.com with ESMTPSA id hq8sm5562079pad.35.2015.10.20.15.24.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Oct 2015 15:24:12 -0700 (PDT) X-CudaMail-Envelope-Sender: jrajahalme@nicira.com X-Barracuda-Apparent-Source-IP: 208.91.1.34 From: Jarno Rajahalme To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-V2-1019071051 X-CudaMail-DTE: 102015 X-CudaMail-Originating-IP: 209.85.220.48 Date: Tue, 20 Oct 2015 15:23:59 -0700 X-ASG-Orig-Subj: [##CM-V2-1019071051##][RFC PATCH 2/3] tests: Enable debugging in pyftpdlib. Message-Id: <1445379840-113042-2-git-send-email-jrajahalme@nicira.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1445379840-113042-1-git-send-email-jrajahalme@nicira.com> References: <1445379840-113042-1-git-send-email-jrajahalme@nicira.com> X-Barracuda-Connect: UNKNOWN[192.168.14.1] X-Barracuda-Start-Time: 1445379854 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 Cc: netdev@vger.kernel.org Subject: [ovs-dev] [RFC PATCH 2/3] tests: Enable debugging in pyftpdlib. X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" Helps diagnosing problems. Signed-off-by: Jarno Rajahalme Acked-by: Joe Stringer --- 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")