def classify(self, url_path):
        for dict_api_url in self.user_defined_rules:
            api_url = dict_api_url['str']
            re_api_url = dict_api_url['re']
            if re_api_url.match(url_path[1:]):
                return api_url

        return self.RE_SIMPLIFY_URL.sub('(\d+)/', url_path)
Test if the watchdog send logs
dataset/ETHPy150Open piglei/uwsgi-sloth/uwsgi_sloth/analyzer.py/URLClassifier.classify--crossover with--dataset/ETHPy150Open ebu/radiodns-plugit/RadioVisServer/tests.py/MainTests.test_watchdog_send_logs