I find the below statement before print log statement.
if (LOG.isDebugEnabled())
How can we enable or disable debug statements when running a Giraph program?
And where can one find the logs of these statements?
To access the logs try something like
yarn logs --applicationId application_1399469361545_0003
where you can find the application ID in the console output.