Set the following logging preferences. You can view P4VS log messages in the Output window in Visual Studio if you select Perforce Source Control in the Show output from drop-down list in the Output window.
Enable logging to file: Logs P4VS activity to the specified file.