Feature additions for RAILS logging + other middlewares.