Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 08:18:59 +0000 (GMT)
From:      =?iso-8859-1?q?Supote=20Leelasupphakorn?= <pjn0211@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   why can't I implement syslog ?
Message-ID:  <20040319081859.73821.qmail@web40610.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040319081859.73821.qmail>