Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4233

log_level option is affecting Rails.logger

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.1
    • Affects Version/s: 5.1.0
    • Component/s: None
    • None

      The log_level option introduced by MONGOID-4197 is also changing Rails.logger.level, which I believe it's not supposed to.

      It will probably have to #dup the Rails.logger before changing logging level.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            rafaelgaspar Rafael Gaspar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: