Add logging lib; tidy conf files.