Update the log generation to prevent redundant lib entries