Switched logging name from logging to logger to keep it consistent with the modsocks.py file.