see if using .format() will fix UnicodeDecodeError in logging request url