Skip to content

💡 [datadogLogs] Customizable levels per logger's handler type #3100

Open
@morzel85

Description

@morzel85

It is possible to setup both console and http handler for a logger, but AFAIK it is not possible to configure different levels for the handlers.

I would like to have debug level for console and info for http (more data in browser console, less data on DD servers).

My current workaround is to have the level defined as debug and using beforeSend event to filter out debug level messages from sending to DD servers, it works but more explicit/declarative API would be nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions