Reputation: 4920
At even moderate a request volume, the rails log in 3.2.x writes to the log blindly and ends up with multiple requests overlapping each other making it very difficult to parse and analyze.
What techniques exist for fixing this? My goal is to analyze for basic performance and exceptions and other debugging.
Thanks.
Upvotes: 0
Views: 249
Reputation: 20614
see: http://railscasts.com/episodes/318-upgrading-to-rails-3-2
config.log_tags = [:uuid, :remote_ip]
will give each request a unique id that you can parse and group on
but really if you want performance and exception notification
Upvotes: 2