All activities of the web server are written to log files so that server administrator can keep track of the activities. The location of error logs depends totally on your installation of web server. The location are different for different control panels and custom installations.
If your VPS is having cPanel/WHM:
- Login to cPanel
- Go to Logs section.
- There you can see Error Log.