This shortcode allows you to toggle error logging on the staging environment of a site installed on your server. Error logs log all errors that occur on your site, you may use this shortcode to enable or disable the staging environment error log.
Shortcode usage format:
sudo nodalio sitelog-errors-staging domain.com on
- domain.com – your site’s primary domain/subdomain.
- on – turn on/off your site’s error log.
To toggle the access log on your site’s staging environment, you may use the sitelog-error shortcode.
When adding additional domains or aliases to your site, you will be required to setup logging for each one. The dafault setting is “on”.