Problem/Motivation

Routine log entries can now be captured as "logs". This should be lighter weight as e.g. logs have no stacktrace, and multiple logs can be sent together at the end of the request.

Steps to reproduce

Proposed resolution

Allow admins to separately configure log levels for errors and logs?

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork raven-3541687

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mfb created an issue. See original summary.

mfb’s picture

Status: Active » Fixed

  • mfb committed 4d4f3aa7 on 7.x
    Issue #3541687 by mfb: Support Sentry structured logs
    
mfb’s picture

In a followup issue we may need to add a log filtering feature? Although, developers can do their own filtering via Sentry callbacks.

For example, maybe by default, logs could honor the same "ignored channels" and "ignored messages" that errors do, with a checkbox to capture all logs, including ignored channels and ignored messages? There might even be a use case for logs having its own lists of ignored channels and ignored messages.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.