On Thursday 26 July 2007, J.D. Bronson wrote: > At 06:33 AM 07/26/2007, J.D. Bronson wrote: > >I am running 4.1-STABLE and having issues with ppp logging. > > > >I created /var/log/ppp.log and nothing will log to it > >when ppp runs (userland pppoe). > > > >My ppp.conf file contains the normal stuff: > > > >default: > > set log Phase Chat IPCP CCP tun command > > set redial 5 10000 > > set reconnect 5 10000 > > > >att: > > set device "!/usr/sbin/pppoe -i hme0" > > set mtu max 1492 > > set speed sync > >... > >... > > > >It appears to be logging to /var/log/daemon > >(thanks to daemon.info -> /var/log/daemon in syslog.conf) > > > >but not ppp.log > > > >What am I missing to log stuff to ppp.log?? > > > >-JD > > I did just add this to syslog.conf: > > !ppp > *.* <tab> /var/log/ppp.log > > > and now, I get logging in ppp.log but ONLY on reboot/shutdown. > It will not log anything on startup - and all my logging in > /var/log/daemon for ppp is now only shutdown as well. > > Startup is NOT getting logged.... > > Help? > > -JD
hi JD, Having stuff duplicated in /var/log/daemon is normal due to the message type and notice level. The addition your syslog.conf file is just telling syslog to *also* log to /var/log/pp.log anything that matches "ppp" Having startup messages not show up in /var/log/ppp.log is not normal. I suspect either you're not starting ppp properly or you've got permissions hosed on the log files. How are you starting ppp? (hopefully through /etc/rc.local). # start ppp echo ' ppp' ppp -auto att echo '.' Though it's a wicked thing to do (loss of logs), as root try: # cd /var/log # rm daemon # rm ppp.log # touch daemon # touch ppp.log # reboot When rebooted, in both your /var/log/daemon and /var/log/ppp.log you should see ppp reading it's config file, establishing a connection and so on. -jcr

