# File lib/bullet.rb, line 111
    def bullet_logger=(active)
      if active
        require 'fileutils'
        root_path = (rails? ? Rails.root.to_s : Dir.pwd).to_s
        FileUtils.mkdir_p(root_path + '/log')
        bullet_log_file = File.open("#{root_path}/log/bullet.log", 'a+')
        bullet_log_file.sync = true
        UniformNotifier.customized_logger = bullet_log_file
      end
    end