How do i check web request logs?

February 6, 2018 4k views
Getting Started Logging WordPress Ubuntu 16.04

Hello Community,

So everytime I send a new push notification from one signal my wordpress site crashes.

I told this to onesignal support they told me to check & send web request logs.

Conversation Screenshot :

Can anybody explain how do I check web request logs

Thank you,

PS I’m running Digitalocean droplet (VPS) : 4 GB Memory / 20 GB Disk / BLR1 - Ubuntu WordPress 4.7 on 16.04

1 Answer

If you are running WordPress on Apache (this is the default for the one-click image we provide) your access and error log files can be found at:

/var/log/apache2/access.log and /var/log/apache2/error.log with Apache

/var/log/nginx/access.log and /var/log/nginx/error.log with Nginx

Have another answer? Share your knowledge.