From owner-freebsd-questions@FreeBSD.ORG Tue Feb 22 19:31:11 2005 Return-Path: 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 88B5416A4CF for ; Tue, 22 Feb 2005 19:31:11 +0000 (GMT) Received: from jandor.look.ca (theta1.look.ca [207.136.80.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92F6543D31 for ; Tue, 22 Feb 2005 19:31:10 +0000 (GMT) (envelope-from david+dated+1109532666.8c4c1b@skytracker.ca) Received: from 3s1.com ([209.161.205.12]) by jandor.look.ca with esmtp (Exim 4.20) id 1D3fkS-0005UR-Gt for questions@freebsd.org; Tue, 22 Feb 2005 19:31:08 +0000 Received: (from root@localhost) by 3s1.com (8.12.8p1/8.12.8) id j1MJV8AV081793 for questions@freebsd.org; Tue, 22 Feb 2005 14:31:08 -0500 (EST) (envelope-from david+dated+1109532666.8c4c1b@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.12.8p1/8.9.3) with ESMTP id j1MJV73W081769 for ; Tue, 22 Feb 2005 14:31:07 -0500 (EST) Received: (from david@localhost) by 3s1.com (8.12.8p1/8.12.8/Submit) id j1MJV69c081747 for questions@freebsd.org; Tue, 22 Feb 2005 14:31:06 -0500 (EST) (envelope-from david+dated+1109532666.8c4c1b@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1109532666.8c4c1b@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Tue, 22 Feb 2005 14:31:05 -0500 (EST) Date: Tue, 22 Feb 2005 14:31:03 -0500 To: James Alexander Cook Message-ID: <20050222193103.GA79390@skytracker.ca> References: <20050222063525.GA4636@skytracker.ca> <20050222175827.GA36707@angel.falsifian.afraid.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20050222175827.GA36707@angel.falsifian.afraid.org> User-Agent: Mutt/1.4.2.1i X-Delivery-Agent: TMDA/1.0.2 (Bold Forbes) From: David Banning X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) X-SA-Exim-Mail-From: david+dated+1109532666.8c4c1b@skytracker.ca Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psi.look.ca X-Spam-Level: X-Spam-Status: No, hits=0.1 required=9.0 tests=FROM_HAS_MIXED_NUMS autolearn=no version=2.63 X-SA-Exim-Version: 3.1 (built Tue Feb 24 05:09:27 GMT 2004) X-SA-Exim-Scanned: Yes cc: questions@freebsd.org Subject: Re: logging proftpd question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 19:31:11 -0000 > I believe the syntax you want is > > ftp.* /var/log/proftpd.log > > Make sure the logfile exists (and is writable), > otherwise I think syslog will complain. Thanks, fellow Torontonian, for your reply. I tried your suggestion previous to my posting, with no result. Now, could something in the; I tried your suggestion previous to my posting, with no result. I also did a "touch /var/log/proftpd.log" and "chmod 600 /var/log/proftpd.log" The line; *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages is what is grabbing the messages I want to redirect. (I beleive *.notice) I just wonder if the line I just mention takes the log entry, if another can still take it. Can a log entry only be logged once? Or can you have it go to multiply files? (via multiple syslog.conf entries) It sure would be easier if in the log entry it said "ftp.notice" or some such thing so you -know- how it is being directed. I have tried running syslog with -d and -vv and there seems to be no indication what the facility name that is used. --