Error logging in wordpress

You’ll find error_log output

  • in WordPress’s debug.log, under wp-content, if enabled
  • in your web server’s error log file, e.g.
    • /var/log/httpd/error_log for Apache, or /var/log/apache2/error_log on Ubuntu
    • /var/log/nginx/default-error.log for nginx
  • or in your PHP FPM service’s error log if you’re running that instead

It generally won’t get output in the web page, no. If you want that you can always echo instead, but be careful not to echo until you’ve reached the point that WordPress is going to emit the page template: as soon as you echo you prevent the server sending any more HTTP headers.

deneme bonusudeneme bonusu veren sitelerpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casino