Debugging intermittent vpn pptp connection

My PPTP connection works fine most of the time but drops out occasionally.
How do I increase the logging level to try to see the problem?
Adding lines to /etc/NetworkManager/NetworkManager.conf makes it fail to start: do I have the syntax wrong?

[logging]
VPN_PLUGIN:DEBUG

I have ping logs showing 40 second outages which sometimes recover.
It could be server side but how can I tell without decent logs?

Thanks,
Adam.

I would say the long ping times could be indicative of time-outs occurring. (I have this happen occasionally when reaching a remote corporate LAN connected via VPN.)

The man page is a good starting point

man NetworkManager.conf

You could add the following to NetworkManager.conf

[logging]
level=DEBUG

Restart NetworkManager when changes complete

sudo systemctl restart NetworkManager

You could open a terminal window and watch NM output

sudo journalctl -fu NetworkManager

then start the VPN connection and observe the output.