From owner-freebsd-questions@FreeBSD.ORG Fri Jun 10 16:10:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BC4E16A41C for ; Fri, 10 Jun 2005 16:10:36 +0000 (GMT) (envelope-from Viraj.Dixit@CityofPaloAlto.org) Received: from xmail.cityofpaloalto.org (cerberus.city.palo-alto.ca.us [199.33.32.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C3AE43D48 for ; Fri, 10 Jun 2005 16:10:36 +0000 (GMT) (envelope-from Viraj.Dixit@CityofPaloAlto.org) Received: from xiris.cityofpaloalto.org ([172.17.1.15]) by xmail.cityofpaloalto.org with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Jun 2005 09:10:35 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 10 Jun 2005 09:10:32 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FTP Log thread-index: AcVtPm5qNyhvNMZ/RxKHMV5GD2MFPQAl79Hg From: "Dixit, Viraj" To: "Micheal Patterson" , "Dan Nelson" X-OriginalArrivalTime: 10 Jun 2005 16:10:35.0519 (UTC) FILETIME=[EF4D80F0:01C56DD6] Cc: freebsd-questions@freebsd.org Subject: RE: FTP Log X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 16:10:36 -0000 Thanks all for your help. The -l commands work great, here's the = problem. I came back this morning and found that the ftplog file only = recorded data for few minutes and there was no more data. I know that = FTP is heavily used on my site for posting purposes but the ftplog file = showed no more than few minutes. All commands and processes are working = fine. Thanks, VJ ----- Original Message -----=20 From: "Dixit, Viraj" To: "Dan Nelson" Cc: Sent: Thursday, June 09, 2005 4:05 PM Subject: RE: FTP Log My previous email didn't show some lines correctly. This one is fine. VJ Hi Dan, Can you shed light on why my FTP daemon not writing FTP logins in my = ftplog file. I have my FTP account enabled in my syslog.conf file and syslogd = is running. 54148 ?? Ss 0:16.13 /usr/libexec/ftpd -D 84598 ?? Ss 0:03.73 /usr/sbin/syslogd -m 0 !ftpd *.* /var/log/ftp.log VJ --------- A few things for starters: 1. Try adding the -l option to enable connection logging. Add it twice = to include get, store, cmd info as well. 2. Check to make sure those are tabs and not spaces in the syslog.conf entry. 3. Make sure the /var/log/ftp.log file actually exists. It won't create = it on it's own, so you may need to do a touch on the file and then restart syslogd. -- Micheal Patterson Senior Communications Systems Engineer 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.