-
-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
Description
Started to upgrade some applications to Sentry 1.2.1 and found an incompatibility with log4r.
There was a change made between 1.1.0 and 1.2.1. In ( lib/raven/logger.rb ) that went from:
- 1.1.0 (line: 19)
logger.send(level, "#{LOG_PREFIX}#{msg}") if logger - 1.2.1 (line: 29)
logger.add(LEVELS[level], "#{LOG_PREFIX}#{msg}", "sentry") if logger
The problem with this is there is a bug that log4r has that conflicts with (add).
This is valid for Ruby's Logger class (see Logger.add), however for log4r it tries to add an outputter in Log4r::Logger.add
Wondering if you guys know about this already?