Laravel log monitoring

Find the log you need.
See what happened around it.

Laritor is a performance monitoring and issue tracking tool for Laravel. Search your application logs, read their full messages and context, and open the request or job that produced them. Understand what your app was doing when a problem occurred.

Free trial: 300K events · Unlimited apps and users

Laravel logs with message search, severity filters, and links to their originView screenshot
Laritor Laravel log monitoring showing All logs, Errors and Warnings views, message and context search, severity filters, timestamps, log messages, and originating queued jobs
01

Find relevant entriesSearch messages and recorded context.

02

Read the detailsFull messages, levels, and JSON context.

03

Follow the originOpen the request, job, command, or task.

Full messages and structured context

A log tells you something happened.
The context helps explain why.

Expand an entry to read its full message and recorded JSON context. See the details your code attached, such as the URL it called or the job it was running.

Then follow the origin link to inspect the related execution. Read the log alongside queries, outbound requests, cache activity, exceptions, and other recorded events.

Expanded log entry with its complete message, JSON context, and originating jobView screenshot
Laritor expanded DEBUG log from SyncPostsYahoo showing a full outbound API URL message, structured JSON context containing URL and job class, Copy message and Copy data controls

The message your code wrote

Read the complete message instead of guessing from a shortened table row.

The data attached to it

Inspect structured context such as an order reference, API URL, or workflow step, when your code includes it.

The work that produced it

Follow the origin link to inspect the recorded request, job, command, or scheduled task.

Example: investigating a warning during checkout

  1. 01A request beginsA customer submits an order
  2. 02Your app calls an APIThe service returns a failed response
  3. 03Your code writes a logA warning includes useful context
  4. 04Open the request in LaritorInspect the events around the warning

A log entry gives you the message your code wrote. An exception adds failure details such as a stack trace. Use the recorded API calls and queries to investigate what happened around either one.

Custom audit and activity logs

Some logs live elsewhere.
Bring them into Laritor.

Already storing audit records in a database or activity logs in another system? Send them to Laritor alongside your application logs.

Write a routine that reads your records and adds each one with a type, level, message, context, and original timestamp. Send them in a batch. You can run the routine from a scheduled task.

The client gives you the API; you choose which records to collect and when to send them.

Learn how to send custom logs

Example: sending one custom audit record

use BinaryBuilds\LaritorClient\Laritor;

$laritor = new Laritor();

$laritor->addCustomLog(
    'db-audit',
    'INFO',
    'Order status changed',
    ['order_id' => 123, 'status' => 'paid'],
    now()
);

$laritor->sendEvents();

Audit records

Send important changes from your audit tables with a clear message and the data needed to understand the change.

Activity logs

Bring records from your own activity tables or an activity logging package into the same place.

Integration records

Collect webhook or vendor callback logs stored elsewhere and keep their original timestamps and relevant context.

From a log entry to a useful fix

Follow the evidence.
Fix what caused the message.

A warning or error message is a starting point. Use the recorded context to work out whether it points to a code bug, a configuration problem, or an external service failure.

Look at what happened before and after the entry, then verify the affected workflow after making a change.

  1. 01

    Find the relevant entry

    Search for the message or context value you know, choose a level, and set the time window around the problem.

  2. 02

    Understand what happened

    Read the full message and context. Open the originating execution and compare the log with related queries, API calls, and exceptions.

  3. 03

    Fix the cause and check again

    Use that evidence to change your code or configuration. Test the affected workflow, then inspect new activity to see whether the problem returns.

Use Laritor how you want

Keep the logs
that matter to you.

Choose how much application activity to send. Keep the logs around exceptions, keep activity with detected issues, or record successful executions too.

The log history you see reflects the occurrences and events retained by your settings. Custom logs sent through the dedicated API use a separate sending workflow.

Most cost effective

Exceptions only

Keep logs and related events when a request, job, command, or task contains an exception. Read the messages that led up to the failure.

An error-level log is not necessarily an exception.

Maximum value

Full observability

Record successful activity too. Search routine messages, warnings, and errors across the executions your app sends.

Use this for broader application log visibility.

Paid plans start at $20/month with 20M events included. Usage includes recorded logs and the other events you send. Filtering unnecessary entries can reduce event usage. Estimate your usage

Control the data you send

Concerned about
sensitive information in logs?

Messages and context can contain personal data or secrets. Laritor applies redaction before recorded data leaves your app, and lets you customize what is recorded and how sensitive values are handled.

Review your logging calls and outgoing data. Keep the information you need to debug while removing private details your team does not need.

Explore privacy controls

Choose which entries to record.

Use recordLog($level, $message, $context) to skip entries you do not need, such as noisy routine messages.

Control attached context.

Use recordLogContext to control whether attached Laravel context is included. Include useful details deliberately in your logging calls.

Redact messages and structured values.

Customize redactString and redactArrayValue to mask or remove sensitive text and context fields before sending.

Explore recording overrides

Laravel log monitoring questions

Understand what
Laritor records.

Answers about application logs, structured context, custom records, and recording settings.

What is Laravel log monitoring?

Laravel log monitoring helps you find and understand the messages your application writes while it runs. Laritor collects recorded Laravel logs in a searchable view with severity levels, timestamps, full messages, structured context, and links to the requests, jobs, commands, or scheduled tasks that produced them.

Does Laritor capture my existing Laravel logs?

Laritor’s Laravel client automatically captures application logs written through Laravel’s logger and Monolog channels. You can keep using your existing logging calls. The entries sent to Laritor depend on your recording mode, log filters, and context settings.

Can I search log messages and structured context?

Yes. The Logs view includes message and context search. Use it to find a keyword or value your application recorded, then combine it with severity filters and a date range to narrow the results.

Which Laravel log levels can I inspect?

Laritor supports DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, and EMERGENCY. Use the Errors or Warnings view for a starting point, or select the levels you want to inspect. Severity describes the log entry; it does not by itself prove an exception occurred.

Can I see the request or queued job behind a log entry?

Yes. When a log belongs to a recorded execution, its origin links to the request, queued job, Artisan command, or scheduled task. Open that execution to inspect related queries, outbound requests, cache operations, exceptions, and other recorded events.

Can I inspect and copy the full log context?

Yes. Expand a log row to view the full message and recorded JSON context. You can copy the message and context data. The context available depends on what your code included and what your recording and redaction settings allow.

Can I send custom audit or activity logs to Laritor?

Yes. Use the Laravel client’s addCustomLog method to provide a type, level, message, structured context, and original timestamp, then send the batch with sendEvents. This lets you send database audit records, activity logs, and integration logs that do not go through Laravel’s logger. You write the routine that reads and sends those records.

Do I need full observability to use Laravel log monitoring?

No. Exceptions-only and issue tracker modes keep logs from retained occurrences so you can investigate those problems. Full observability also records successful activity for broader log visibility. An error-level log alone is not necessarily an exception, so exceptions-only mode does not mean every error log is sent. Custom logs sent through the dedicated API are a separate workflow.

Can I filter logs and protect sensitive information?

Yes. Use recordLog to choose which entries are recorded and recordLogContext to control attached Laravel context. Laritor applies redaction before data leaves your app, and you can customize string and array-value redactors for your messages and context. Review the data your code logs and avoid putting passwords, tokens, or unnecessary personal information in it.

Can an AI agent use my logs to investigate an exception?

Yes. Through Laritor MCP, a connected coding agent can retrieve an exception and its recorded execution timeline, including related logs when available. It can use those messages and events with your repository to investigate the failure and work on a fix.

Install in under 1 minute

Start with your logs.
Understand the activity behind them.

Add Laritor’s Laravel client, choose a recording mode, and start inspecting the messages and events your app sends.

Free trial: 300K events · Unlimited apps and users