move logging_setup before load_profile

Writing to the log before logging_setup somehow breaks logging for the rest of
the program (oft.log wasn't created).
1 file changed