Initialize the log module before parsing arguments.