If you do not use Latex-Suite, but an external program or script to compile your tex documents, you can use
:cg | copen
to load (and parse) the .log
file.
If you use vim to compile your documents, you might want to use
:let $max_print_line=1024
such that latex will not wrap the filenames. Otherwise, you could use it as an environment variable or simply use
max_print_line=1024 pdflatex ...
in your terminal. If you are using latexmk, you should set
$ENV{'max_print_line'} = '1024'; $log_wrap = $ENV{'max_print_line'};
in your ~/.latexmkrc
.