replaced missed prints by logging
Merge pull request #767 from Menerve/logging_missed_prints

Missing prints replaced by logging