add the id in the log