Modify how to use the log module