modify the log