Initialize config before logger