# Log profile 2 user info a separate log file

When a user logs in, I want to log the user information from the Profile2 module in a separate file.

How can I achieve this?

• drupalcontrib.org/api/drupal/… You can use _load() hooks and then save it to file or DB perhaps. – GoodSp33d Jul 9 '12 at 9:11
• i am new to drupal...do i have to write a separate module for this and use _load() hooks? – Cindrella Jul 9 '12 at 9:14