lib/low/middleware/request_logger.rb in low-0.0.7 vs lib/low/middleware/request_logger.rb in low-0.0.8
- old
+ new
@@ -5,10 +5,10 @@
# of the request:
# * _IO_: if RACK_ENV is development or test, use an eponymous file in
# the log directory, otherwise use STDOUT (as Heroku likes).
# * _log_level_: If set, use the LOG_LEVEL environment variable value;
# otherwise, use INFO.
- # * _group_key_: Use request_id env value.
+ # * _group_key_: Use request_id env value (see the RequestId middleware).
class RequestLogger
def self.level
# If `LOG_LEVEL` is a valid level other than INFO,
if ['FATAL', 'ERROR', 'WARN', 'DEBUG'].include? ENV['LOG_LEVEL']
# use it;