Return-Path: X-Original-To: apmail-mina-users-archive@www.apache.org Delivered-To: apmail-mina-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B8D4932A for ; Tue, 12 Jun 2012 06:59:00 +0000 (UTC) Received: (qmail 8706 invoked by uid 500); 12 Jun 2012 06:59:00 -0000 Delivered-To: apmail-mina-users-archive@mina.apache.org Received: (qmail 8562 invoked by uid 500); 12 Jun 2012 06:58:56 -0000 Mailing-List: contact users-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@mina.apache.org Delivered-To: mailing list users@mina.apache.org Delivered-To: moderator for users@mina.apache.org Received: (qmail 69926 invoked by uid 99); 12 Jun 2012 06:45:39 -0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of MZibra@rocketsoftware.com designates 216.82.250.99 as permitted sender) X-Env-Sender: MZibra@rocketsoftware.com X-Msg-Ref: server-7.tower-126.messagelabs.com!1339483511!14480285!1 X-Originating-IP: [137.134.240.188] X-StarScan-Version: 6.5.10; banners=-,-,- X-VirusChecked: Checked From: Majid Zibra To: "users@mina.apache.org" Subject: RE: server side transfer statistics Thread-Topic: server side transfer statistics Thread-Index: AQHNPPP5yr4E17vGSkeXeAWUbygYxJb2Ut2K Date: Tue, 12 Jun 2012 06:43:46 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.10.252] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I am not sure, if you already had a reply but have a look at the logging fi= lters. If you add a logging filter at the bottom of your chain, you will ge= t the raw bytes logged over log4j.=20 See: http://mina.apache.org/quick-start-guide.html ________________________________________ From: Jack Scuncio [jscuncio@filecatalyst.com] Sent: Monday, May 28, 2012 4:03 PM To: users@mina.apache.org Subject: server side transfer statistics We have had some customer requests to implement a sftp server in our current file transfer system. Our product monitors and gives statistics for all transfers server side. I have been looking for something that would allow me to be notified of any new sessions coming and going on the server and at the very least access to the streams that are created once those clients connect. Maybe I am missing it, but so far in the documentation and the code, I have not been able to find any such mechanism. I am beginning to think I will have to implement my own. So my questions are as follows: 1) Is there any such mehcanism as described above for server side monitoring in MINA. 2) If not, could some of you more experienced folk possibly point me to a good starting point to implement such a mechanism. Thank you.=