Debug messages in a file

Hi,
The debug messages are dispalyed in the analysis area of the EnterpriseIntegrator .Can i redirect them to a file?.Also i want to log messages after each and every step in my EAI solution on to a file for offline viewing.To acheive this do i need to explicitly add Log steps in my Flow diagram?.Any help would be appreciated.

TIA