Debugging info removed, now putting info to log.