Enable debug log
Usage If you want to better understand why the plugin is not working as expected, you may want to enable (debug) logging as follows.
- Navigate to WP Admin > WPO365 > ... > Debug.
- Check Enable debug log.
- Choose a Log location (see https://docs.wpo365.com/article/60-log-location for details).
When you choose to keep the logs locally then please be aware that without further configuration the plugin will only keep the most recent 500 log items whilst the tail of the log is continuously truncated. If you’d like to see more than the latest 500 debug entries, you can still enable debugging in WordPress and expect all log lines being written to the default WordPress debug log. You can do this by changing the following line in the wp-config file
define( 'WP_DEBUG', false );
to
define( 'WP_DEBUG', true );
and by adding the following lines:
define( 'WP_DEBUG_DISPLAY', false);
define( 'WP_DEBUG_LOG', true );
You should now find the WordPress debug.log in the wp-content directory.
Note
- If you don't check Enable debug log the plugin will still log all errors (but not the corresponding debug information).
- To see all debug log entries, you can click Show all. By default, the debug log viewer will only show you errors.
- If WPO365 support requested you to send a debug log file, you can click Copy to clipboard and send the log to support@wpo365.com.
- There is a possibility that your website hoster has diverted debug / error output to a standard PHP log file. In this case you may need to ask your hoster where you can find the latest debug / error logs.
Important Once everything is working correctly you should turn debug logging in WordPress off because the file quickly grows and nobody wants a server running out of disk space.
Default value false.
Versions All
Visit the website https://www.wpo365.com/