*) Replace print to log.