Use logger instead of simple print

Some were still left