Skip to content
Media CloudDocs
Happy HolidaysSave 20% with codeValid through December 31Shop the sale
Debugging and Logs
On this page

Debugging and Logs

Enable Media Cloud logging, inspect the debug log, and capture URL-rewrite reports when diagnosing media problems.

2 min read·2 tags

Media Cloud keeps a database-backed log for storage, vision, video, and background-task errors. Use it when a migration fails, URLs are not rewritten, or a provider rejects requests.

Logging settings

Open Media Cloud → Settings → Debugging.

SettingDefaultDescription
Logging LevelInfoNone, Info, Warning, or Error. Use None to disable logging.
Debug Content FilteringOffLogs content filtering and writes a report when Media Cloud rewrites URLs. Turn this off after troubleshooting.
Maximum Database Entries1000Number of log rows to retain.
Use Spatie RayOnSends log entries to the Ray app when Ray is installed.
Log Target HostEmptyRemote log host supplied by Media Cloud support.
Log Target PortEmptyRemote log port supplied by Media Cloud support.
Ignored Regex FiltersEmptyOne regex per line to suppress noisy messages.

Viewing the log

Go to Media Cloud → Debug Log.

The log viewer shows the time, level, message, and context for each entry. Filter by level or message to isolate a request.

Debugging URL rewrites

If images still point at the local server or show the wrong CDN host:

  1. Enable Debug Content Filtering.
  2. Load the affected page once.
  3. Open the debug log and look for URL replacement entries.
  4. Check the generated report in wp-content/mcloud-reports.
  5. Turn Debug Content Filtering off.

Do not leave content-filter debugging enabled on a production site; it writes a report for every filtered page.

Remote logging

Media Cloud support may ask you to enter a Log Target Host and Log Target Port. When configured, log entries are sent to that remote collector. This is intended for support sessions.

Log retention

The log is stored in the database and trimmed to Maximum Database Entries. If the log fills quickly, raise the level to Warning or Error, or add ignored regex filters.

Useful checks

  • Storage errors usually include the provider’s HTTP status and message.
  • Video errors include webhook and API responses.
  • Background-task errors include the task identifier and item ID.
  • For URL issues, compare the attachment’s cloud metadata with the URL being rendered.

Need a hand with this guide?

Send support the exact step you’re stuck on and we’ll help you finish the setup.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →