From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9a5876b8a4eb459b X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-07 09:11:00 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!newsfeed.ACO.net!fuw.edu.pl!cyfronet!galaxy.uci.agh.edu.pl!sony10!grzes From: grzes@sony10 (Grzegorz Mucha) Newsgroups: comp.unix.osf.osf1 Subject: Re: tcp_wrapper Date: 7 Nov 1994 09:14:48 GMT Organization: Cracow University of Technology, L-5 Institute Distribution: world Message-ID: <39kr68$n09@galaxy.uci.agh.edu.pl> References: <393oak$9m@mailer.fsu.edu> Reply-To: grzes@twins.pk.edu.pl NNTP-Posting-Host: sony10.twins.pk.edu.pl X-Newsreader: TIN [version 1.2 PL2] Cliff Browning (cliff@ealpha1.eng.fsu.edu) wrote: : How is the best way to get tcp_wrapper to write it's log to a different : log file other than /var/adm/syslog.dated/date/mail.log 1. In Makefile change line with FACILITY to : # The LOG_XXX names below are taken from the /usr/include/syslog.h file. FACILITY= LOG_LOCAL0 # LOG_MAIL is what most sendmail daemons use 2. In /etc/syslog.conf add this line: local0.info /var/adm/syslog.dated/tcp.log remember about TABS instead of spaces! 3. kill -HUP `cat /var/run/syslog.pid` to tell syslog to reload its configuration. Grzesiek grzes@twins.pk.edu.pl