Improve logger and ignore Rack connection errors
Fixed
-
When an
Appsignal::Loggeruses.broadcast_toto broadcast messages to other loggers, broadcast those messages even if the log level of those messages is lower than the logger's threshold. This allows other loggers to set their own logging thresholds.When the logger is silenced, messages below the silencing threshold are not broadcasted to other loggers.
-
When an
Appsignal::Loggeruses.broadcast_toto broadcast messages to other loggers, broadcast the original message received by the logger, without formatting it or converting it to a string. -
Call the
Appsignal::Loggerformatter with the original message object given, rather than converting it to a string before calling the formatter. -
When an error is passed to an
Appsignal::Loggeras the message, format it regardless of the logging level. Previously it would only be formatted when passed to#error. -
Ignore
Errno::ECONNRESETerrors in the Rack wrapper.
View the Ruby gem v4.5.17 changelog for more information.