Started GET "/" for 127.0.0.1 at 2012-03-10 14:28:14 +0100
Processing by HomeController#index as HTML
Rendered text template within layouts/application (0.0ms)
Rendered layouts/_assets.html.erb (2.0ms)
Rendered layouts/_top.html.erb (2.6ms)
Rendered layouts/_about.html.erb (0.3ms)
Rendered layouts/_google_analytics.html.erb (0.4ms)
Completed 200 OK in 79ms (Views: 78.8ms | ActiveRecord: 0.0ms)
# Lograge configconfig.lograge.enabled=true# This specifies to log in JSON formatconfig.lograge.formatter=Lograge::Formatters::Json.new## Disables log colorationconfig.colorize_logging=false# Log to a dedicated fileconfig.lograge.logger=ActiveSupport::Logger.new(Rails.root.join('log',"#{Rails.env}.log"))# This is useful if you want to log query parametersconfig.lograge.custom_options=lambdado|event|{:ddsource=>'ruby',:params=>event.payload[:params].reject{|k|%w(controller action).include?k}}end
# Subscribe to grape request and log with a logger dedicated to Grapegrape_logger=Logging.logger['Grape']ActiveSupport::Notifications.subscribe('grape')do|name,starts,ends,notification_id,payload|grape_logger.infopayloadend
logs:- type:filepath:"<RUBY_LOG_FILE_PATH>.log"service:<SERVICE_NAME>source:rubysourcecategory:sourcecode## Uncomment the following processing rule for multiline logs if they## start by the date with the format yyyy-mm-dd#log_processing_rules:# - type: multi_line# name: new_log_start_with_date# pattern: \d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01])