Class: Mizuno::Logger
- Inherits:
-
Object
- Object
- Mizuno::Logger
- Defined in:
- lib/norikra/logger_mizuno_patch.rb
Class Method Summary collapse
Class Method Details
.configure(options = {}) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/norikra/logger_mizuno_patch.rb', line 7 def Logger.configure( = {}) return if @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 |