Show Main Navigation

Configuring the JavaScript error log

The JavaScript error log offers a number of configurable options to customise which errors are captured by the log, the level of detail recorded, and how long data is retained.

Take a look at the video overview for a quick introduction to the options available, or keep reading for further details.

Video Overview

Configurable Options

The following configurable options are available for the JavaScript error log.

Error Type

This option allows you to select which types of JavaScript errors to log.

Screenshot showing Error types setting options
Screenshot showing Error types setting options.

You can select one or more of the following options:

Scope

This option allows you to select which sources to log errors for.

Screenshot showing Scope setting options
Screenshot showing Scope setting options.

You can select one or more of the following options:

For theme and plugin errors, the configuration page offers a further option:

Note: Logtastic will track the source of JavaScript errors based on the location of the JavaScript file (eg. /plugin/example.js will be recorded as the source being the relevant plugin), however, inline JavaScript will always be recorded as WordPress core.

Stack Trace

Where possible, the JavaScript Error Log can attempt to capture a full stack trace (also known as a backtrace) for each error. The stack trace records a list of the functions that were called leading up to an error being generated. This can be useful tool when debugging errors.

Screenshot showing Stack Trace setting options
Screenshot showing Stack Trace setting options.

The following options are available:

Session Information

Where possible, the JavaScript Error Log can attempt to capture additional session information for each error, including the full url of the page on which the error occurred and information about the user’s web browser.

Screenshot showing Session Information setting options
Screenshot showing Session Information setting options.

The following options are available:

Log Retention

The log retention setting allows you to manage log storage by defining how long captured errors and their occurrences are stored for.

Screenshot showing Log Retention setting options
Screenshot showing Log Retention setting options.

The available options are:

Ignored Errors

If you have ignored any errors, via the Delete & Ignore action on the view error log page, these will be displayed here. If you no longer want to ignore a particular error, you can click the Stop Ignoring button next to that error. Any future occurrences of that error will then be logged.

Screenshot showing the Ignored Errors table and the location of the Stop Ignoring button.
Screenshot showing the Ignored Errors table and the location of the Stop Ignoring button.
© 2026 Morley Digital Limited Morley Digital logo it's a Morley Digital thing