Replace println with logger.
Removed unnecessary println.
Removed unnecessary println and used the correct logger.