start_grab_log (Raggle::Engine)

    # File raggle, line 5427
        def Engine::start_grab_log
          meth = 'Engine.start_grab_log'

          # create new log file
          log = Logger.new($config['grab_log_path'],
                           $config['grab_log_age'] || 'weekly',
                           $config['grab_log_size'] || 1048576)
          log.info(meth) { _('Starting grab log.') }

          # set log level
          level_msg = _('Setting log level to "%s".')
          log_level_str = $config['grab_log_level'] || 'INFO'
          log.info(meth) { level_msg % [log_level_str] }
          log.level = Logger.const_get(log_level_str)
          $log = log
        end