[java] add more logging in debug and stats mode
[java] add more logging in debug and stats mode

Summary:
Add more debug output to be able to trace the calls to javac more easily
when --stats or --debug is passed to infer.

Reviewed By: sblackshear

Differential Revision: D4398100

fbshipit-source-id: 3012900

facebook/infer,jvillard/infer,jvillard/infer,ryoon/infer,blzq/infer,jsachs/infer,facebook/infer,jvillard/infer,ryoon/infer,jvillard/infer,jsachs/infer,ryoon/infer,ryoon/infer,jvillard/infer,blzq/infer,ryoon/infer,blzq/infer,facebook/infer,jvillard/infer,jsachs/infer,blzq/infer,jsachs/infer,ropas/infer,jsachs/infer,jvillard/infer,ropas/infer,ropas/infer,ropas/infer,facebook/infer,blzq/infer,ropas/infer,facebook/infer,jsachs/infer,ryoon/infer,ropas/infer,facebook/infer,facebook/infer,blzq/infer