LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   enable syslogd ppp log (https://www.linuxquestions.org/questions/%2Absd-17/enable-syslogd-ppp-log-215239/)

noir911 08-09-2004 01:22 AM

enable syslogd ppp log
 
I'm having some problem connecting to the Internet and need to see /var/log/ppp for debugging purposes. But unfortunately there's no such file there.

I have tried to enable (uncomment) it from syslogd (/etc/syslog.conf) but no such entry is there as well.

Does anyone know how to enable this file to log ppp?

TIA.

frob23 08-09-2004 02:09 AM

In /etc/ppp/ppp.conf you need the line:
Code:

set log All  # or whatever you want to log
In /etc/syslog.conf you need
Code:

!ppp
*.*                                            /var/log/ppp.log

And it should work. Do you have these lines?

noir911 08-10-2004 12:56 PM

works like magic. thanks heaps.

frob23 08-10-2004 03:48 PM

lol, I was tempted to point you towards the manpage for this because that is the way to learn best. But I remembered that this wasn't exactly easy or intuitive when I tried to do it. Debug your ppp connection first and then go read the man pages for syslogd and syslog.conf -- trust me there is a lot to learn from them and you can specialize your logs to suit your needs.


All times are GMT -5. The time now is 09:03 AM.