Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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