Fix logging: load log config file after change directory