ctrl2cgi: log traps via debug facility

Change-Id: I21ff593be420a374a00073953c9254a013c43164
Related: SYS#4399
diff --git a/scripts/ctrl2cgi.py b/scripts/ctrl2cgi.py
index 1b5e952..bdbd5c5 100755
--- a/scripts/ctrl2cgi.py
+++ b/scripts/ctrl2cgi.py
@@ -103,6 +103,7 @@
         """
         Parse CTRL TRAP and dispatch to appropriate handler after normalization
         """
+        self.factory.log.debug('TRAP %s' % v)
         (l, r) = v.split()
         loc = l.split('.')
         t_type = loc[-1]