Changed the temporary puts into a proper logger message