Date: Thu, 22 Sep 2005 11:53:33 +0200 From: John Oxley <john@yoafrica.com> To: questions@freebsd.org Subject: [FIXED] Re: Syslog to remote host Message-ID: <20050922095333.GD25143@yoafrica.com> In-Reply-To: <20050922093139.GB25143@yoafrica.com> References: <20050922093139.GB25143@yoafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 22, 2005 at 11:31:39AM +0200, John Oxley wrote: > 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 > To reply to myself At the start of /etc/syslog.conf on marijuana, I put +morphine mail.in..... to log stuff for morphine. Then: +@ to log stuff for localhost, then I did the Its all working now -- 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?20050922095333.GD25143>