From owner-freebsd-questions Fri Jul 5 23:15: 6 2002 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 BCB7037B400 for ; Fri, 5 Jul 2002 23:15:01 -0700 (PDT) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD1843E09 for ; Fri, 5 Jul 2002 23:15:01 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.11.6/8.11.6) with ESMTP id g6667Uw54877; Fri, 5 Jul 2002 23:07:30 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Date: Fri, 5 Jul 2002 23:07:30 -0700 (PDT) From: Annelise Anderson To: Grant Cooper Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setting Up a Log In-Reply-To: <000c01c22418$d07f1680$04fbcecd@ab.hsia.telus.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 5 Jul 2002, Grant Cooper wrote: > I am trying to set up a simple log. > > First log is a log of ftpd daemon, but there is too much info. All I want is > who logged in, and what time. > > Second, I want to do the same for telnet. > > Is there a primer for logging or am I going to have to create a C program to > gather this information myself? > Try man syslog.conf Also how each program logs depends on the program, so read its man page (e.g., man ftpd). You may have two l's at the end of the line in inetd.conf--this gives you more information than one l. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message