modify the log print