Log all P4JAVA errors/messages.

Originally only the first error was reported, before dropping out of
validation code.