diff --git a/cdist/trigger.py b/cdist/trigger.py index 9ebd92a5..c237db08 100644 --- a/cdist/trigger.py +++ b/cdist/trigger.py @@ -93,11 +93,12 @@ class TriggerHttp(http.server.BaseHTTPRequestHandler): self.cdistargs = self.server.cdistargs - m = re.match("^/(?Pcdist|file)/(?Pcreate|delete|config|install)/", "/cdist/install/").group('subsystem') + m = re.match("^/(?Pcdist|file)/(?Pcreate|delete|config|install)/", "/cdist/install/") if m: subsystem = m.group('subsystem') action = m.group('action') + log.debug("Calling {} -> {}".format(subsystem, action)) else: code = 404