1) Changed some print msg to log4j msg. 2) Deleted some unused comments.
Modified the hierarchy of log4j loggers.
Added logger to method discover().