Add logging and default config settings