Make sure the log file is set before initializing the rest of the lib