Replace deprecated print logging by stdout logging.
Add color back to logging and use debug log level.