Log Settings
- The cWatch plugin collects logs from the customer websites by default
- The logs can be viewed from the admin panel. See View Logs for more details.
- You can enable or disable log collection at any time by editing the .env file on the server.
To enable / disable logs
- Open the following file on the server that runs Plesk:
/opt/psa/admin/plib/modules/cwatchforplesk/.env
- Set the value (true/false) for 'CW_DEBUG'
- CW_DEBUG=false – Logs are not collected
- CW_DEBUG=true – All events including API requests from the plugin and the responses form the API are saved
- Save the file.