Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 11:31:39 +0200
From:      John Oxley <john@yoafrica.com>
To:        questions@freebsd.org
Subject:   Syslog to remote host
Message-ID:  <20050922093139.GB25143@yoafrica.com>

next in thread | raw e-mail | index | archive | help
OK, I have syslog'ging to a remote host done.  I am logging from
morphine to marijuana.  On morphine I am saying, in /etc/syslog.conf
mail.info                                       @marijuana.yoafrica.com

On marijuana, in /etc/rc.conf, I have put
syslogd_flags="-a morphine:* -b marijuana"
which according to me accepts from morphine and binds on marijuana.

All is working to here, everything that morphine syslogs to mail.info I
can on marijuana get that out with mail.info.  The problem is it mixes
it up with marijuana's mail.info, and when I add a whole bunch of other
servers/switches/routers etc, its going to get VERY hairy.

How can I tell marijuana to log everything from morpine in
/var/log/morpine.  I have tried
+morphine
mail.info         /var/log/morphine/maillog

But that does absolutely nothing.  I am having trouble understanding the
syslog.conf man page.

TIA

-John


-- 
John Oxley
Systems Administrator
Yo!Africa
E-Mail:  john at yoafrica.com
Tel:     +263 4 858404
echo '9k[l:l;s<s=0l>x]s"[1+l<dd*l=d*-l;+ds<rl=2**l:+ds=d*rd*+4<-d15>>] s>[q]s-[d77/3*2-s;47l"x-P1+d78>`]s`0[d23/.5-3*s:0l`xr10P1+d24>$]ds$x'|dc



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