Skip links
View Categories

Debug logging

1 min read

Debug logs help support understand a problem. Turn them on only while investigating: they switch off automatically after 3 hours.

Debug and Logging Settings: PHP debug logging with level, log to file, log to browser console; JavaScript debug; log file path, folder, size, auto cleanup; view, download and clear log
Settings → Debug & Logging.

Options #

OptionUse
Enable PHP Debug Logging + Log LevelServer-side messages; Info, Warning & Error is enough for most cases
Log to File / Log to Browser Console (AJAX)Where PHP messages go
Enable JavaScript Debug LoggingMessages in the browser console with timestamps
Custom Log Path, Log Folder NameWhere the file is written (default: a folder in your uploads)
Max Log File SizeRotation size (10 MB by default)
Auto-Cleanup Old Logs, Cleanup AfterDelete old logs (30 days by default)

For a support request #

  1. Enable PHP and JavaScript debug logging, save.
  2. Reproduce the problem.
  3. Click Download Log and attach it to your message.
  4. Turn debug off (or let it switch off after 3 hours).

Privacy. Logs can contain URLs and technical data. Share them only with support, and clear them when done.

Expected result #

View Log shows recent messages, and the file can be downloaded or cleared.

FAQ #

Does debug mode slow the site? #

Slightly, while on. Debug JavaScript is not even loaded when debug is off.

The log is empty. #

Check the level and that Log to File is ticked; reproduce the problem again.

Leave a comment

Explore
Drag