Skip to content

Calls to #log with progname are swallowed and only progname is sent to LogDNA #42

@RobinDaugherty

Description

@RobinDaugherty

According to the Ruby docs for the Logger class, #log has a call pattern where a progname is provided and a block is executed only if the log level is high enough to actually log the message.

This call pattern is not supported by this library, and it in fact breaks log messages sent using this method by treating progname as the message and throwing away the message.

If you're using Sentry and wondering why your logs are full of messages that consist solely of "sentry", this is the cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions