Moving print() to twisted log.msg