why can't I implement syslog ?

Supote Leelasupphakorn pjn0211 at yahoo.com
Fri Mar 19 00:19:00 PST 2004


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 at YaHoo.CoM
-------------------------

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


More information about the freebsd-questions mailing list