py3 support, fixed logging, and added the geoip db to gitignore