-2

I was reading Simple Shortest Paths Computation class. Here : https://apache.googlesource.com/giraph/+/3d4f31343c3686435696e75ce88a75c9bffb024e/giraph-examples/src/main/java/org/apache/giraph/examples/SimpleShortestPathsComputation.java

I could not get the use of creating Log in this class . The program runs fine even if I comment all the log related stuff.

Community
  • 1
  • 1
nik
  • 33
  • 6

1 Answers1

1

Logs don't affect on the programs output but they are used to make debugging and analyzing the program easier. For the full list of why we need logs read this: https://softwareengineering.stackexchange.com/questions/37294/logging-why-and-what

Community
  • 1
  • 1
Saeid
  • 4,147
  • 7
  • 27
  • 43