Event Logging

I am a newbie in Ruby on Rails.I want to log events from my rails
application to DB. I am using gem “audited-activerecord”, “~>
3.0.0.rc2”
.
This is used for CRUD operations. But I want to use it in controllers
while
application login, logout & other things. How can I achieve this?