You can write custom messages to the Activity Log - using the General
tab of almost any element.
But, if you want to write to a different file, you have to write some
custom java.
This is explained in the CVP Programming Guide with more details in the
CVP javadocs.