Sha256: 4140d952202598e2e66e2867a7a122eeb83e8e786d1b25fbf1fe78b13339fbf0

Contents?: true

Size: 661 Bytes

Versions: 21

Compression:

Stored size: 661 Bytes

Contents

require 'java'
require 'esper/lib/log4j-1.2.17.jar'
require 'mizuno/logger'

module Mizuno
  class Logger
    def Logger.configure(options = {})
      return if @options
      @options = options

      ### built-in jetty log level is fixed as 'WARN' for Norikra
      ### Base logging configuration.
      # mizuno_log_limit = "WARN"
      # config = <<-END
      #   log4j.logger.ruby = #{mizuno_log_limit}
      #   log4j.logger.org.eclipse.jetty.util.log = #{mizuno_log_limit}, ruby
      # END

      ### appender configuration will be done out of mizuno

      # Create the default logger that gets used everywhere.
      @logger = new
    end
  end
end


Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
norikra-1.0.0-java lib/norikra/logger_mizuno_patch.rb