From owner-freebsd-questions@FreeBSD.ORG Tue May 29 15:04:41 2007 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 280D316A400 for ; Tue, 29 May 2007 15:04:41 +0000 (UTC) (envelope-from ingabireg@terracom.rw) Received: from bravo.terracom.rw (ns1.terracom.rw [66.178.96.2]) by mx1.freebsd.org (Postfix) with ESMTP id 48AF013C46A for ; Tue, 29 May 2007 15:04:38 +0000 (UTC) (envelope-from ingabireg@terracom.rw) Received: from [196.12.158.34] (helo=acer684c9a655d) by bravo.terracom.rw with esmtp (Exim 4.66) (envelope-from ) id 1Ht2wn-0006KL-GJ for questions@FreeBSD.org; Tue, 29 May 2007 16:45:29 +0200 From: "grace Ingabire" To: Date: Tue, 29 May 2007 16:44:27 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0057_01C7A210.9FDD10B0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: Aceh/9tEG2rMU2qcQw6gcslLgUMAfg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bravo.terracom.rw X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - terracom.rw Message-Id: <20070529150438.48AF013C46A@mx1.freebsd.org> X-Mailman-Approved-At: Tue, 29 May 2007 15:47:23 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: (no subject) 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: Tue, 29 May 2007 15:04:41 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0057_01C7A210.9FDD10B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I have installed and configured freeBSD 6.1 and have seen the configuration of the syslog in /usr/src/libexec/bootpd. I would like to monitor my system using SYSLOG. How can I go forward? Thanks for your help. Regards, Ingabire Grace NOC ENGINEER 250-08424148 250-05401198 ingabireg@terracom.rw ------=_NextPart_000_0057_01C7A210.9FDD10B0 Content-Type: text/plain; name="syslog config.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="syslog config.txt" # # syslog configuration file for SunOS 4.X # (modified to do local2 separately) # # This file is processed by m4 so be careful to quote (`') names # that match m4 reserved words. Also, within ifdef's, arguments # containing commas must be quoted. # # Note: Have to exclude user from most lines so that user.alert # and user.emerg are not included, because old sendmails # will generate them for debugging information. If you # have no 4.2BSD based systems doing network logging, you # can remove all the special cases for "user" logging. #*.err;kern.debug;auth.notice;user.none /dev/console kern.debug;user,mail.crit;auth.notice /dev/console daemon,syslog,lpr,news,uucp,cron.err /dev/console #*.err;kern.debug;daemon,auth.notice;mail.crit;user.none = /var/adm/messages kern.debug;user,mail.crit;auth.notice /var/adm/messages daemon.notice;syslog,news,uucp,cron.err /var/adm/messages lpr.debug /var/adm/lpd-errs *.alert;kern.err;daemon.err;user.none operator *.alert;user.none root *.emerg;user.none * # for loghost machines, to have authentication messages (su, login, = etc.) # logged to a file, un-comment out the following line and adjust the = file name # as appropriate. # # if a non-loghost machine chooses to have such messages # sent to the loghost machine, un-comment out the following line. # #auth.notice ifdef(`LOGHOST', /var/log/authlog, = @loghost) mail.debug ifdef(`LOGHOST', /var/log/syslog, = @loghost) # following line for compatibility with old sendmails. they will send # messages with no facility code, which will be turned into "user" = messages # by the local syslog daemon. only the "loghost" machine needs the = following # line, to cause these old sendmail log messages to be logged in the # mail syslog file. # ifdef(`LOGHOST', user.alert /var/log/syslog ) # # non-loghost machines will use the following lines to cause "user" # log messages to be logged locally. # ifdef(`LOGHOST', , user.err /dev/console user.err /var/adm/messages user.alert `root, operator' user.emerg * ) # Local2: (bootpd, pppd) local2.debug /dev/console #local2.debug /var/log/local2 ------=_NextPart_000_0057_01C7A210.9FDD10B0--