From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 00:19:00 2004 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 310A616A4CE for ; Fri, 19 Mar 2004 00:19:00 -0800 (PST) Received: from web40610.mail.yahoo.com (web40610.mail.yahoo.com [66.218.78.147]) by mx1.FreeBSD.org (Postfix) with SMTP id E128B43D1F for ; Fri, 19 Mar 2004 00:18:59 -0800 (PST) (envelope-from pjn0211@yahoo.com) Message-ID: <20040319081859.73821.qmail@web40610.mail.yahoo.com> Received: from [202.183.248.166] by web40610.mail.yahoo.com via HTTP; Fri, 19 Mar 2004 08:18:59 GMT Date: Fri, 19 Mar 2004 08:18:59 +0000 (GMT) From: =?iso-8859-1?q?Supote=20Leelasupphakorn?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: why can't I implement syslog ? 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: Fri, 19 Mar 2004 08:19:00 -0000 Hi all, I would like to log my message by using syslog so I altered /etc/syslog.conf like below (kill and re-start syslogd as well) # file: /etc/syslog.conf -- snip --- local1.debug /var/log/myScript.log and in a shell script I use # /usr/bin/logger -i -p local1.debug -t myScript "this is a testing log message." after I run above script nothing to file:/var/log/myScript.log. Why not or I miss something ? TIA, Pote ===== ------------------------- Pote :-) Pjn0211@YaHoo.CoM ------------------------- ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html