add a log in log