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

No Logger with Sinatra classical app

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.7
    • Affects Version/s: None
    • Component/s: None
    • None

      I had logging output with Mongoid 2.5 but nothing with 3.0.6

      Here is the logging setting

      Mongoid.logger.level = Logger::DEBUG
      

      Which outputs

      #<Logger:0x007f9171d3e668 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007f9171d3e618 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x007f9171d3e500 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x007f9171d3e5a0 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDOUT>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007f9171d3e578 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007f9171d3e528>>>>
      

            Assignee:
            durran Durran Jordan
            Reporter:
            wprater wprater
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: