Date: Thu, 29 Jan 1998 11:10:33 -0500 From: "Maruca, Fran" <fmaruca@xyplex.com> To: "Maruca, Fran" <fmaruca@xyplex.com>, "'Brian Somers'" <brian@Awfulhak.org> Cc: "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG> Subject: RE: Multiple ppp logs Message-ID: <AFC1FAD88757D111BDD00060970C719A0354FA@east.xyplex.com>
next in thread | raw e-mail | index | archive | help
Not having much luck here. Yes I created the entries in the /etc/syslog.conf file complete with TABs. I create the log files in /var/log via 'touch' and ensure that the permissions/priv is the same as the original ppp.log. In /usr/sbin I created 2 links, ppp0 & ppp1 via 'ln -s ppp /usr/sbin/ppp{#}. After doing this, I reboot the box and initiate a ppp connection. I watch ppp come up; dial; negotiate PPP and then I hang it up. The ppp{#}.log is empty. I'm not running newsyslogd so I'm assuming that has nothing to do with this. Please tell me if I'm wrong. At this point I started to play a bit changing the priv on /usr/sbin/ppp (yes I was grasping at straws). While I still have no problems dialing the ppp session I've noticed that at reboot syslogd reports the error - syslogd: unknown priority name "". Ok I give! I know I must be doing something very rookie-like....any help is appreciated. Thanks, Fran > ---------- > From: Brian Somers[SMTP:brian@Awfulhak.org] > Sent: Wednesday, January 28, 1998 4:22 PM > To: Maruca, Fran > Cc: 'freebsd-questions@freebsd.org' > Subject: Re: Multiple ppp logs > > > Hi, > > > > I pretty new to BSD in general and was hoping someone could help me > out. > > I'm a couple of issues with ppp logs that I can't seem to get > around. > > > > 1) It seems that I can't simply create a file called ppp.log in > > /var/log and have ppp use it. I've ensure the proper rights and the > > owner as root:wheel but no luck. The next time I bring up ppp the > log > > remains empty. > > > > 2) My ultimate goal is to create up to 16 dial-out ppp > > connections. I'd like to have a separate log for each session. > > According to the System Manager's Manual I can do this by creating a > > link in /usr/sbin to ppp and calling pppX where X is a variable. > Also, > > the appropriate entry in /etc/syslog.conf must be entered. I do > this > > and reboot but again, when I bring up ppp the logs remain empty. > > > > Any help would be greatly appreciated. > > Have you created the syslog.conf entries with the necessary <TAB> > characters - ie. ``ppp1\n*.*\t/var/log/ppp1.log'' ? You must also > create an initial log file (or add it to newsyslog.conf). > > > Thanks, > > Fran Maruca > > -- > Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> > <http://www.Awfulhak.org> > Don't _EVER_ lose your sense of humour.... > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AFC1FAD88757D111BDD00060970C719A0354FA>