Changed all pl_printf to pl_log_x.