Default logger also prints log messages to console.
VertexToWorkerMapper also receives number of nodes as parameter.