This shortcode allows you to toggle access logging on a site installed on your server. Access logs log all attempts to visit your site by default, you may use this shortcode to enable or disable the access log.
Shortcode usage format:
- sudo nodalio sitelog-access domain.com on
- domain.com – your site’s primary domain/subdomain.
- on – turn on/off your site’s access log.
To toggle the access log on your site’s staging environment, you may use the sitelog-access-staging 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”.