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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"