def log(self, request):
       """Overrode to use DroneD logging and filter some requests"""
       line = '%s - -"%s" %d %s "%s" "%s"' % (
                request.getClientIP(),
                '%s %s %s' % (self._escape(request.method),
                              self._escape(request.uri),
                              self._escape(request.clientproto)),
                request.code,
                request.sentLength or "-",
                self._escape(request.getHeader("referer") or "-"),
                self._escape(request.getHeader("user-agent") or "-"))

       #filter this junk out otherwise the logs are very chatty
       if ('_command' in line) or (line in '_getprime') or \
                ('favicon.ico' in line) or ('gremlin' in line):
            return

       http_log(line)


###############################################################################
# Service API Requirements
###############################################################################
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/services/drone.py/DroneSite.log/swapped operands of `in`