Log the errors in Jupiter X

Updated on June 18, 2021

In order to troubleshoot the issues in Jupiter X theme and also your WordPress website, Jupiter X introduces a logging tool in its Control Panel.

Logs tab

Logs tab in Jupiter X is accessible in Jupiter X Control Panel > Tools > Logs.

The WordPress debugger must be enabled in the case when debugging site, it’s not recommended to enable it when there is no need, in this case, log file will increase in size which is useless, The debugger works the same as Default WordPress debug, more detailed information you can get from here.

Note: Please do not share the error logs publicly. Only share it with trusted people as it may contain some sensitive information about your website.

How to Enable/Disable Debug Log

By default Debug log is disabled in WordPress installation, however, if you want to enable it this can be done from the Wp-config.php file in your root folder, add these lines (if they are not added) in the file:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('JUPITERX_LOG', true); // To enable Jupiter X custom logs.

This is how it looks when added:

Note: Please deactivate the debug mode after every troubleshoot because this may grow your log file or show sensitive data to your viewers which may cause security risks.

Did this answer your question?