38

I have a Macbook Pro and I'm trying to get VPN from home to work. It refuse to work. I have turned on verbose logging, but how can I read the log ?

36

Whether you choose L2TP over IPSec or PPTP for your settings, the log file is located at:

/var/log/ppp.log

If you want use terminal to view your log file you can do following:

vim /var/log/ppp.log

tail -f /var/log/ppp.log (if you want see end of file)

less /var/log/ppp.log (if your log file was huge and want to see page by page)

  • 1
    For additional information on IPSec, use the built-in "syslog" command to query all logs for messages from the racoon key management daemon: syslog -k Facility -k Sender racoon – Asmus Feb 7 '11 at 14:54
  • 5
    This answer no longer seems relevant: on OS X El Capitan, there is no /var/log/ppp.log. There is a /var/log/ppp/ directory, but it's empty. Logs seem to go into /var/log/system.log. – D.W. Aug 23 '16 at 17:49
  • @D.W. I'm on Sierra 10.12.6 and /var/log/ppp.log is still being written to as I write – PandaWood Sep 16 '17 at 4:38
  • Where can I find Cisco IPSec logs? – Derp Oct 6 '17 at 9:33
  • Not using the terminal and just to extend previous information, on mac open the Console Tool and on the right side (explorer) and click on /var/log you should see in the middle panel a list of logs, click on the ppp.log – Pedro Luz Oct 31 '17 at 10:51
11

For completeness, I'll add a way to view the log in the GUI: Open the Console utility, select Show Log List from the toolbar (if it isn't already shown), then select FILES > /private/var/log > ppp.log from the sidebar.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .