Log various events from within a Rails app.