ruby icon indicating copy to clipboard operation
ruby copied to clipboard

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

Open RobinDaugherty opened this issue 2 years ago • 0 comments

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.

RobinDaugherty avatar May 03 '22 13:05 RobinDaugherty