Both rsyslog and syslog-ng support CEE in their latest versions. This allows you to format your Ruby/Rails logs in that format.
The envisioned use is to output your logs in CEE format to STDOUT and have your running environment pipe them to a logger command.
CEE is short for Common Event Expression. It is a structured format for logs. Lumberjack is a project to implement and standardize around CEE.
Gemfile
gem "common_event_formatter"
config/application.rb
config.logger = Logger.new($stdout)
config.logger.formatter = CommonEventFormatter.new
config/unicorn.rb (for those using unicorn)
require "common_event_formatter"
Configurator::DEFAULTS[:logger].formatter = CommonEventFormatter.new